Part Number Hot Search : 
WHE1K0FE SP385ECA IRF840B TDF20M SP207HEA IDT6168 T301009 SOT363
Product Description
Full Text Search
 

To Download DS21FT42 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  dallas semiconductor DS21FT42 / ds21ff42 4 x 3 twelve channel t1 framer 4 x 4 sixteen channel t1 framer 101899 /123 1 features p sixteen (16) or twelve (12) completely independent t1 framers in one small 27mm x 27mm package each multi-chip module (mcm) contains four (ff) or three (ft) ds21q42 die. each quad framer can be concatenated into a single 8.192mhz backplane data stream ieee 1149.1 jtag-boundary scan architecture ds21ff42 and DS21FT42 are pin compatible with ds21ff44 and ds21ft44, respectively, to allow the same footprint to support t1 and e1 applications 300?pin mcm bga package (27mm x 27mm) low power 3.3v cmos with 5v tolerant input & outputs 1. multi-chip module (mcm) description the four x four and four x three mcms offer a high density packaging arrangement for the ds21q42 t1 enhanced quad framer. either three (DS21FT42) or four (ds21ff42) silicon die of these devices is packaged in a multi-chip module (mcm) with the electrical connections as shown in figure 1-1. all of the functions available on the ds21q42 are also available in the mcm packaged version. however, in order to minimize package size, some signals have been deleted or combined. these differences are detailed in table 1-1. in the four x three (ft) version, the fourth quad framer is not populated and hence all of the signals to and from this fourth framer are absent and should be treated as no connects (nc). table 2-1 lists all of the signals on the mcm and it also lists the absent signals for the four x three. the availability of both a twelve and a sixteen channel version allow the maximum framer density with the lowest cost. for example, in a t3 application, two devices (one ds21ff42 and one DS21FT42) provide a total of 28 framers without the additional cost and power consumption of any unused framers that appear in an octal approach.
dallas semiconductor ds21ff42/DS21FT42 101899 /123 2 changes from normal ds21q42 configuration table 1-1 1. tsysclk and rsysclk are tied together. 2. the following signals are not available: rfsync / rlclk / rlink / rchclk / rmsync / rlos/lotc / tchblk / tlclk / tlink / tchclk ds21ff42 / DS21FT42 schematic figure 1-1 8mclk clksi rclk1/2/3/4 rpos1/2/3/4 rneg1/2/3/4 rser1/2/3/4 rsig1/2/3/4 rsync1/2/3/4 rsysclk1/2/3/4 tclk1/2/3/4 tneg1/2/3/4 tpos1/2/3/4 tser1/2/3/4 tsig1/2/3/4 tssync1/2/3/4 tsync1/2/3/4 tsysclk1/2/3/4 tlink0/1/2/3 jtdo jtdi jtclk jtms jtrst int* fms d0 to d7 a0 to a7 rd* wr* bts mux cs* fs0/fs1 test signals not connected & left open circuited include: rlos/lotc rlink rlclk rchclk rmsync rfsync tlclk tchclk tchblk ds21q42 # 1 rclk5/6/7/8 rpos5/6/7/8 rneg5/6/7/8 rser5/6/7/8 rsig5/6/7/8 rsync5/6/7/8 rsysclk5/6/7/8 tclk5/6/7/8 tneg5/6/7/8 tpos5/6/7/8 tser5/6/7/8 tsig5/6/7/8 tssync5/6/7/8 tsync5/6/7/8 tsysclk5/6/7/8 jtdo jtdi jtclk jtms jtrst int* d0 to d7 a0 to a7 rd* wr* bts mux cs* fs0/fs1 test signals not connected & left open circuited include: rlos/lotc rlink rlclk rchclk rmsync rfsync tlclk tchclk tchblk 8mclk ds21q42 # 2 2 8 8 see connecting page rchblk5/6/7/8 rchblk1/2/3/4 dvdd dvss dvss tlink0/1/2/3 fms clksi dvss dvss dvdd
dallas semiconductor ds21ff42/DS21FT42 101899 /123 3 ds21ff42 / DS21FT42 schematic figure 1-1 (continued) clksi rclk9/10/11/12 rpos9/10/11/12 rneg9/10/11/12 rser9/10/11/12 rsig9/10/11/12 rsync9/10/11/12 rsysclk9/10/11/12 tclk9/10/11/12 tneg9/10/11/12 tpos9/10/11/12 tser9/10/11/12 tsig9/10/11/12 tssync9/10/11/12 tsync9/10/11/12 tsysclk9/10/11/12 tlink0/1/2/3 jtdo jtdi jtclk jtms jtrst int* fms d0 to d7 a0 to a7 rd* wr* bts mux cs* fs0/fs1 test signals not connected & left open circuited include: rlos/lotc rlink rlclk rchclk rmsync rfsync tlclk tchclk tchblk 8mclk ds21q42 # 3 rclk13/14/15/16 rpos13/14/15/16 rneg13/14/15/16 rser13/14/15/16 rsig13/14/15/16 rsync13/14/15/16 rsysclk13/14/15/16 tclk13/14/15/16 tneg13/14/15/16 tpos13/14/15/16 tser13/14/15/16 tsig13/14/15/16 tssync13/14/15/16 tsync13/14/15/16 tsysclk13/14/15/16 jtdo jtdi jtclk jtms jtrst int* d0 to d7 a0 to a7 rd* wr* bts mux cs* fs0/fs1 test signals not connected & left open circuited include: rlos/lotc rlink rlclk rchclk rmsync rfsync tlclk tchclk tchblk 8mclk ds21q42 # 4 rchblk13/14/15/16 rchblk9/10/11/12 dvdd dvss dvss tlink0/1/2/3 fms clksi dvss dvss dvdd see connecting page jtdot jtdof the fourth quad framer is not populated on the 12 channel DS21FT42
dallas semiconductor ds21ff42/DS21FT42 101899 /123 4 table of contents features ................................ ................................ ............................... 1 1. multi-chip module (mcm) description ................................ .... 1 2. mcm lead descript ion ................................ ................................ . 7 3. ds21ff42 (four x four) pcb land pattern ............................... 13 4. DS21FT42 (four x three) pcb land pattern ............................ 14 5. ds21q42 features ................................ ................................ .......... 15 6. ds21q42 introduct ion ................................ ................................ . 16 7. ds21q42 pin funct ion description ................................ ........... 20 8. ds21q42 register map ................................ ................................ .. 29 9. parallel port ................................ ................................ .............. 33 10. control, id and test registers ................................ ........... 33 11. status and informat ion registers ................................ ..... 45 12. error count regi sters ................................ ........................... 54 13. ds0 monitoring f unction ................................ ........................ 58 14. signaling operat ion ................................ ................................ 62 14.1 process or based signaling ................................ ................... 62 14.2 hardware based signaling ................................ .................... 64 15. per?channel code (idle) generation and loopback ..... 66 15.1 transmit side code generation ................................ ........... 66 15.1.1 simple idle code insertion and per?channel loopback .................. 66 15.1.2 per?channel code insertion ................................ ........................ 67 15.2 receive side code generation ................................ ............... 68 15.2.1 simple code insertion ................................ ................................ . 68 15.2.2 per?channel code insertion ................................ ........................ 69 16. clock blocking r egisters ................................ .................... 71 17. elastic stores o peration ................................ ..................... 72
dallas semiconductor ds21ff42/DS21FT42 101899 /123 5 17.1 receive side ................................ ................................ ............... 72 17.2 transmit side ................................ ................................ ............ 73 17.3 minimum delay synchronous rsysclk/tsysclk mode ..... 73 18. hdlc controller ................................ ................................ ...... 74 18.1 hdlc for ds0 s ................................ ................................ ............... 74 19. fdl/fs extractio n and insertion ................................ ......... 75 19.1 hdlc and boc controller for the fdl ............................... 75 19.1.1 general overview ................................ ................................ ........ 75 19.1.2 status register for the hdlc ................................ ...................... 76 19.1.3 hdlc/boc register description ................................ .................. 79 19.2 legacy fdl support ................................ ................................ . 86 19.2.1 overview ................................ ................................ .................... 86 19.2.2 receive section ................................ ................................ ........... 86 19.2.3 transmit section ................................ ................................ ........ 87 19.3 d4/slc?96 operation ................................ ................................ . 88 20. programmable in? band code generation and detection 89 21. transmit transpa rency ................................ .......................... 93 22. interleaved pcm bus operation ................................ .......... 94 23. jtag-boundary sc an architecture and test access port 97 23.1 d escription ................................ ................................ .................... 97 23.2 tap c ontroller s tate m achine ................................ .................... 98 23.3 i nstruction r egister and i nstructions ................................ ......... 101 23.4 t est r egisters ................................ ................................ ............. 104 24. timing diagrams ................................ ................................ ...... 109 25. operating parame ters ................................ .......................... 124 26. mcm package dime nsions ................................ ...................... 144 document revision history revision notes
dallas semiconductor ds21ff42/DS21FT42 101899 /123 6 8-7-98 initial release 12-29-98 test and mux leads were added at previous no connect (nc) leads. 10-18-99 ds21q42 die specifications appended to data sheet.
dallas semiconductor ds21ff42/DS21FT42 101899 /123 7 2. mcm lead description lead description sorted by symbol table 2-1 lead symbol i/o description b7 8mclk o 8.192 mhz clock based on clksi. g20 a0 i address bus bit 0 (lsb). h20 a1 i address bus bit 1. g19 a2 i address bus bit 2. h19 a3 i address bus bit 3. g18 a4 i address bus bit 4. h18 a5 i address bus bit 5. g17 a6 i address bus bit 6. h17 a7 i address bus bit 7 (msb). w15 bts i bus timing select. 0 = intel / 1 = motorola. b6 clksi i reference clock for the 8.192mhz clock synthesizer. t8 cs1* i chip select for quad framer 1. y4 cs2* i chip select for quad framer 2. y15 cs3* i chip select for quad framer 3. e19 cs4*/nc i chip select for quad framer 4. nc on four x three. l20 d0 i/o data bus bit 0 (lsb). m20 d1 i/o data bus bit 1. l19 d2 i/o data bus bit 2. m19 d3 i/o data bus bit 3. l18 d4 i/o data bus bit 4. m18 d5 i/o data bus bit 5. l17 d6 i/o data bus bit 6. m17 d7 i/o data bus bit 7 (msb). c7 dvdd1 ? digital positive supply for framer 1. e4 dvdd1 ? digital positive supply for framer 1. d2 dvdd1 ? digital positive supply for framer 1. k3 dvdd2 ? digital positive supply for framer 2. u7 dvdd2 ? digital positive supply for framer 2. p2 dvdd2 ? digital positive supply for framer 2. v19 dvdd3 ? digital positive supply for framer 3. t12 dvdd3 ? digital positive supply for framer 3. l16 dvdd3 ? digital positive supply for framer 3. d17 dvdd4/nc ? digital positive supply for framer 4. nc on four x three. f16 dvdd4/nc ? digital positive supply for framer 4. nc on four x three. b11 dvdd4/nc ? digital positive supply for framer 4. nc on four x three. e9 dvss1 ? digital signal ground for framer 1. a6 dvss1 ? digital signal ground for framer 1. d5 dvss1 ? digital signal ground for framer 1. u3 dvss2 ? digital signal ground for framer 2. k4 dvss2 ? digital signal ground for framer 2. u8 dvss2 ? digital signal ground for framer 2. u4 dvss3 ? digital signal ground for framer 3. r16 dvss3 ? digital signal ground for framer 3. y20 dvss3 ? digital signal ground for framer 3. j20 dvss4/nc ? digital signal ground for framer 4. nc on four x three. a11 dvss4/nc ? digital signal ground for framer 4. nc on four x three. d19 dvss4/nc ? digital signal ground for framer 4. nc on four x three. y14 fs0 i framer select 0 for the parallel control port. w14 fs1 i framer select 1 for the parallel control port. g16 int* o interrupt for all four quad framers.
dallas semiconductor ds21ff42/DS21FT42 101899 /123 8 v14 jtclk i jtag clock. e10 jtdi i jtag data input. a19 jtdof/nc o jtag data output for four x four version. nc on four x three. t17 jtdot o jtag data output for four x three version. h16 jtms i jtag test mode select. k17 jtrst* i jtag reset. a13 test i tri-state. 0 = do not tri-state / 1 = tri-state all outputs & i/o signals p17 mux i bus operation select. 0 = non-multiplexed bus / 1 = multiplexed bus c2 rchblk1 o receive channel blocking clock. g3 rchblk2 o receive channel blocking clock. e6 rchblk3 o receive channel blocking clock. a8 rchblk4 o receive channel blocking clock. n1 rchblk5 o receive channel blocking clock. y1 rchblk6 o receive channel blocking clock. u6 rchblk7 o receive channel blocking clock. n5 rchblk8 o receive channel blocking clock. y8 rchblk9 o receive channel blocking clock. w12 rchblk10 o receive channel blocking clock. v17 rchblk11 o receive channel blocking clock. u17 rchblk12 o receive channel blocking clock. d16 rchblk13/nc o receive channel blocking clock. nc on four x three. k20 rchblk14/nc o receive channel blocking clock. nc on four x three. b18 rchblk15/nc o receive channel blocking clock. nc on four x three. b16 rchblk16/nc o receive channel blocking clock. nc on four x three. a2 rclk1 i receive clock for framer 1 k1 rclk2 i receive clock for framer 2. d10 rclk3 i receive clock for framer 3. b9 rclk4 i receive clock for framer 4. m3 rclk5 i receive clock for framer 5. v1 rclk6 i receive clock for framer 6. w6 rclk7 i receive clock for framer 7. j3 rclk8 i receive clock for framer 8. t9 rclk9 i receive clock for framer 9. w10 rclk10 i receive clock for framer 10. y18 rclk11 i receive clock for framer 11. n17 rclk12 i receive clock for framer 12. d14 rclk13/nc i receive clock for framer 13. nc on four x three. p20 rclk14/nc i receive clock for framer 14. nc on four x three. c18 rclk15/nc i receive clock for framer 15. nc on four x three. c12 rclk16/nc i receive clock for framer 16. nc on four x three. e18 rd* i read input. b2 rneg1 i receive negative data for framer 1. h2 rneg2 i receive negative data for framer 2. d9 rneg3 i receive negative data for framer 3. a9 rneg4 i receive negative data for framer 4. m2 rneg5 i receive negative data for framer 5. v3 rneg6 i receive negative data for framer 6. v7 rneg7 i receive negative data for framer 7. p3 rneg8 i receive negative data for framer 8. u9 rneg9 i receive negative data for framer 9. w11 rneg10 i receive negative data for framer 10. w17 rneg11 i receive negative data for framer 11. t20 rneg12 i receive negative data for framer 12. e14 rneg13/nc i receive negative data for framer 13. nc on four x three. n20 rneg14/nc i receive negative data for framer 14. nc on four x three. c20 rneg15/nc i receive negative data for framer 15. nc on four x three. b13 rneg16/nc i receive negative data for framer 16. nc on four x three.
dallas semiconductor ds21ff42/DS21FT42 101899 /123 9 a1 rpos1 i receive positive data for framer 1. h1 rpos2 i receive positive data for framer 2. h4 rpos3 i receive positive data for framer 3. c9 rpos4 i receive positive data for framer 4. m1 rpos5 i receive positive data for framer 5. w2 rpos6 i receive positive data for framer 6. v5 rpos7 i receive positive data for framer 7. p4 rpos8 i receive positive data for framer 8. t10 rpos9 i receive positive data for framer 9. v11 rpos10 i receive positive data for framer 10. y19 rpos11 i receive positive data for framer 11. r19 rpos12 i receive positive data for framer 12. d15 rpos13/nc i receive positive data for framer 13. nc on four x three. j18 rpos14/nc i receive positive data for framer 14. nc on four x three. a20 rpos15/nc i receive positive data for framer 15. nc on four x three. a14 rpos16/nc i receive positive data for framer 16. nc on four x three. c1 rser1 o receive serial data from framer 1. h3 rser2 o receive serial data from framer 2. c6 rser3 o receive serial data from framer 3. c8 rser4 o receive serial data from framer 4. p1 rser5 o receive serial data from framer 5. w4 rser6 o receive serial data from framer 6. t7 rser7 o receive serial data from framer 7. n4 rser8 o receive serial data from framer 8. u11 rser9 o receive serial data from framer 9. y12 rser10 o receive serial data from framer 10. v16 rser11 o receive serial data from framer 11. t16 rser12 o receive serial data from framer 12. e16 rser13/nc o receive serial data from framer 13. nc on four x three. f20 rser14/nc o receive serial data from framer 14. nc on four x three. c16 rser15/nc o receive serial data from framer 15. nc on four x three. a12 rser16/nc o receive serial data from framer 16. nc on four x three. d3 rsig1 o receive signaling output from framer 1. g2 rsig2 o receive signaling output from framer 2. d4 rsig3 o receive signaling output from framer 3. d8 rsig4 o receive signaling output from framer 4. n2 rsig5 o receive signaling output from framer 5. v4 rsig6 o receive signaling output from framer 6. v6 rsig7 o receive signaling output from framer 7. k5 rsig8 o receive signaling output from framer 8. u10 rsig9 o receive signaling output from framer 9. y11 rsig10 o receive signaling output from framer 10. w19 rsig11 o receive signaling output from framer 11. u20 rsig12 o receive signaling output from framer 12. e15 rsig13/nc o receive signaling output from framer 13. nc on four x three. k19 rsig14/nc o receive signaling output from framer 14. nc on four x three. c17 rsig15/nc o receive signaling output from framer 15. nc on four x three. a15 rsig16/nc o receive signaling output from framer 16. nc on four x three. b1 rsync1 i/o receive frame/multiframe sync for framer 1. g1 rsync2 i/o receive frame/multiframe sync for framer 2. d6 rsync3 i/o receive frame/multiframe sync for framer 3. a7 rsync4 i/o receive frame/multiframe sync for framer 4. n3 rsync5 i/o receive frame/multiframe sync for framer 5. y2 rsync6 i/o receive frame/multiframe sync for framer 6. u5 rsync7 i/o receive frame/multiframe sync for framer 7. j4 rsync8 i/o receive frame/multiframe sync for framer 8. t11 rsync9 i/o receive frame/multiframe sync for framer 9.
dallas semiconductor ds21ff42/DS21FT42 101899 /123 10 v13 rsync10 i/o receive frame/multiframe sync for framer 10. v15 rsync11 i/o receive frame/multiframe sync for framer 11. p18 rsync12 i/o receive frame/multiframe sync for framer 12. j17 rsync13/nc i/o receive frame/multiframe sync for framer 13. nc on four x three. j19 rsync14/nc i/o receive frame/multiframe sync for framer 14. nc on four x three. b17 rsync15/nc i/o receive frame/multiframe sync for framer 15. nc on four x three. b12 rsync16/nc i/o receive frame/multiframe sync for framer 16. nc on four x three. b5 sysclk1 i system clock for framer 1. e2 sysclk2 i system clock for framer 2. e5 sysclk3 i system clock for framer 3. b8 sysclk4 i system clock for framer 4. m4 sysclk5 i system clock for framer 5. t2 sysclk6 i system clock for framer 6. y5 sysclk7 i system clock for framer 7. w3 sysclk8 i system clock for framer 8. t4 sysclk9 i system clock for framer 9. y9 sysclk10 i system clock for framer 10. u12 sysclk11 i system clock for framer 11. r17 sysclk12 i system clock for framer 12. e13 sysclk13/nc i system clock for framer 13. nc on four x three. n18 sysclk14/nc i system clock for framer 14. nc on four x three. e20 sysclk15/nc i system clock for framer 15. nc on four x three. c14 sysclk16/nc i system clock for framer 16. nc on four x three. d1 tclk1 i transmit clock for framer 1. h5 tclk2 i transmit clock for framer 2. c5 tclk3 i transmit clock for framer 3. a5 tclk4 i transmit clock for framer 4. r1 tclk5 i transmit clock for framer 5. y3 tclk6 i transmit clock for framer 6. t6 tclk7 i transmit clock for framer 7. k2 tclk8 i transmit clock for framer 8. u13 tclk9 i transmit clock for framer 9. y13 tclk10 i transmit clock for framer 10. t18 tclk11 i transmit clock for framer 11. p16 tclk12 i transmit clock for framer 12. k16 tclk13/nc i transmit clock for framer 13. nc on four x three. f19 tclk14/nc i transmit clock for framer 14. nc on four x three. e17 tclk15/nc i transmit clock for framer 15. nc on four x three. c11 tclk16/nc i transmit clock for framer 16. nc on four x three. c3 tneg1 o transmit negative data from framer 1. j1 tneg2 o transmit negative data from framer 2. f5 tneg3 o transmit negative data from framer 3. a10 tneg4 o transmit negative data from framer 4. l1 tneg5 o transmit negative data from framer 5. v2 tneg6 o transmit negative data from framer 6. v8 tneg7 o transmit negative data from framer 7. p5 tneg8 o transmit negative data from framer 8. u14 tneg9 o transmit negative data from framer 9. v12 tneg10 o transmit negative data from framer 10. w18 tneg11 o transmit negative data from framer 11. t19 tneg12 o transmit negative data from framer 12. d11 tneg13/nc o transmit negative data from framer 13. nc on four x three. k18 tneg14/nc o transmit negative data from framer 14. nc on four x three. c19 tneg15/nc o transmit negative data from framer 15. nc on four x three. b15 tneg16/nc o transmit negative data from framer 16. nc on four x three. b3 tpos1 o transmit positive data from framer 1. j2 tpos2 o transmit positive data from framer 2.
dallas semiconductor ds21ff42/DS21FT42 101899 /123 11 j5 tpos3 o transmit positive data from framer 3. b10 tpos4 o transmit positive data from framer 4. l2 tpos5 o transmit positive data from framer 5. w1 tpos6 o transmit positive data from framer 6. w7 tpos7 o transmit positive data from framer 7. r3 tpos8 o transmit positive data from framer 8. t14 tpos9 o transmit positive data from framer 9. y10 tpos10 o transmit positive data from framer 10. v18 tpos11 o transmit positive data from framer 11. v20 tpos12 o transmit positive data from framer 12. e12 tpos13/nc o transmit positive data from framer 13. nc on four x three. n19 tpos14/nc o transmit positive data from framer 14. nc on four x three. b19 tpos15/nc o transmit positive data from framer 15. nc on four x three. b14 tpos16/nc o transmit positive data from framer 16. nc on four x three. b4 tser1 i transmit serial data for framer 1. e1 tser2 i transmit serial data for framer 2. f3 tser3 i transmit serial data for framer 3. d7 tser4 i transmit serial data for framer 4. l5 tser5 i transmit serial data for framer 5. t1 tser6 i transmit serial data for framer 6. y6 tser7 i transmit serial data for framer 7. t3 tser8 i transmit serial data for framer 8. m16 tser9 i transmit serial data for framer 9. w9 tser10 i transmit serial data for framer 10. w16 tser11 i transmit serial data for framer 11. w20 tser12 i transmit serial data for framer 12. d13 tser13/nc i transmit serial data for framer 13. nc on four x three. f17 tser14/nc i transmit serial data for framer 14. nc on four x three. d18 tser15/nc i transmit serial data for framer 15. nc on four x three. a18 tser16/nc i transmit serial data for framer 16. nc on four x three. c4 tsig1 i transmit signaling input for framer 1. f1 tsig2 i transmit signaling input for framer 2. g4 tsig3 i transmit signaling input for framer 3. c10 tsig4 i transmit signaling input for framer 4. l3 tsig5 i transmit signaling input for framer 5. u2 tsig6 i transmit signaling input for framer 6. v9 tsig7 i transmit signaling input for framer 7. r5 tsig8 i transmit signaling input for framer 8. u15 tsig9 i transmit signaling input for framer 9. v10 tsig10 i transmit signaling input for framer 10. u18 tsig11 i transmit signaling input for framer 11. r18 tsig12 i transmit signaling input for framer 12. e11 tsig13/nc i transmit signaling input for framer 13. nc on four x three. p19 tsig14/nc i transmit signaling input for framer 14. nc on four x three. b20 tsig15/nc i transmit signaling input for framer 15. nc on four x three. a16 tsig16/nc i transmit signaling input for framer 16. nc on four x three. a3 tssync1 i transmit system sync for framer 1. f2 tssync2 i transmit system sync for framer 2. g5 tssync3 i transmit system sync for framer 3. e8 tssync4 i transmit system sync for framer 4. l4 tssync5 i transmit system sync for framer 5. u1 tssync6 i transmit system sync for framer 6. y7 tssync7 i transmit system sync for framer 7. r4 tssync8 i transmit system sync for framer 8. t15 tssync9 i transmit system sync for framer 9. w8 tssync10 i transmit system sync for framer 10. y17 tssync11 i transmit system sync for framer 11.
dallas semiconductor ds21ff42/DS21FT42 101899 /123 12 u19 tssync12 i transmit system sync for framer 12. c13 tssync13/nc i transmit system sync for framer 13. nc on four x three. r20 tssync14/nc i transmit system sync for framer 14. nc on four x three. d20 tssync15/nc i transmit system sync for framer 15. nc on four x three. a17 tssync16/nc i transmit system sync for framer 16. nc on four x three. e3 tsync1 i/o transmit sync for framer 1. f4 tsync2 i/o transmit sync for framer 2. e7 tsync3 i/o transmit sync for framer 3. a4 tsync4 i/o transmit sync for framer 4. r2 tsync5 i/o transmit sync for framer 5. w5 tsync6 i/o transmit sync for framer 6. t5 tsync7 i/o transmit sync for framer 7. m5 tsync8 i/o transmit sync for framer 8. t13 tsync9 i/o transmit sync for framer 9. w13 tsync10 i/o transmit sync for framer 10. u16 tsync11 i/o transmit sync for framer 11. n16 tsync12 i/o transmit sync for framer 12. j16 tsync13/nc i/o transmit sync for framer 13. nc on four x three. f18 tsync14/nc i/o transmit sync for framer 14. nc on four x three. c15 tsync15/nc i/o transmit sync for framer 15. nc on four x three. d12 tsync16/nc i/o transmit sync for framer 16. nc on four x three. y16 wr* i write input.
dallas semiconductor ds21ff42/DS21FT42 101899 /123 13 3. ds21ff42 (four x four) pcb land pattern figure 3-1 the diagram shown below is the lead pattern that will be placed on the target pcb. this is the same pattern that would be seen as viewed through the mcm from the top. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 a rpos 1 rclk 1 ts sync 1 tsyn c 4 tclk 4 dvss 1 rsyn c 4 rch blk 4 rneg 4 tneg 4 dvss 4 rser 16 test rpos 16 rsig 16 tsig 16 ts sync 16 tser 16 jtdof rpos 15 b rsyn c 1 rneg 1 tpos 1 tser 1 sys clk 1 clksi 8 mclk sys clk 4 rclk 4 tpos 4 dvdd 4 rsyn c 16 rneg 16 tpos 16 tneg 16 rch blk 16 rsyn c 15 rch blk 15 tpos 15 tsig 15 c rser 1 rch blk 1 tneg 1 tsig 1 tclk 3 rser 3 dvdd 1 rser4 rpos 4 tsig 4 tclk 16 rclk 16 ts sync 13 sys clk 16 tsyn c 15 rser 15 rsig 15 rclk 15 tneg 15 rneg 15 d tclk 1 dvdd 1 rsig 1 rsig 3 dvss 1 rsyn c 3 tser 4 rsig4 rneg 3 rclk 3 tneg 13 tsyn c 16 tser 13 rclk 13 rpos 13 rch blk 13 dvdd 4 tser 15 dvss 4 ts sync 15 e tser 2 sys clk 2 tsyn c 1 dvdd 1 sys clk 3 rch blk 3 tsyn c 3 ts sync 4 dvss 1 jtdi tsig 13 tpos 13 sys clk 13 rneg 13 rsig 13 rser 13 tclk 15 rd* cs4* sys clk 15 f tsig 2 ts sync 2 tser 3 tsyn c 2 tneg 3 dvdd 4 tser 14 tsyn c 14 tclk 14 rser 14 g rsyn c 2 rsig 2 rch blk 2 tsig 3 ts sync 3 int* a6 a4 a2 a0 h rpos 2 rneg 2 rser 2 rpos 3 tclk 2 jtms a7 a5 a3 a1 j tneg 2 tpos 2 rclk 8 rsyn c 8 tpos 3 tsyn c 13 rsyn c 13 rpos 14 rsyn c 14 dvss 4 k rclk 2 tclk 8 dvdd 2 dvss 2 rsig 8 tclk 13 jtrst* tneg 14 rsig 14 rch blk 14 l tneg 5 tpos 5 tsig 5 ts sync 5 tser 5 dvdd 3 d6 d4 d2 d0 m rpos 5 rneg 5 rclk 5 sys clk 5 tsyn c 8 tser 9 d7 d5 d3 d1 n rch blk 5 rsig 5 rsyn c 5 rser 8 rch blk 8 tsyn c 12 rclk 12 sys clk 14 tpos 14 rneg 14 p rser 5 dvdd 2 rneg 8 rpos 8 tneg 8 tclk 12 mux rsyn c 12 tsig 14 rclk 14 r tclk 5 tsyn c 5 tpos 8 ts sync 8 tsig 8 dvss 3 sys clk 12 tsig 12 rpos 12 ts sync 14 t tser 6 sys clk 6 tser 8 sys clk 9 tsyn c 7 tclk 7 rser 7 cs1* rclk 9 rpos 9 rsyn c 9 dvdd 3 tsyn c 9 tpos 9 ts sync 9 rser 12 jtdot tclk 11 tneg 12 rneg 12 u ts sync 6 tsig 6 dvss 2 dvss 3 rsyn c 7 rch blk 7 dvdd 2 dvss 2 rneg 9 rsig 9 rser 9 sys clk 11 tclk 9 tneg 9 tsig 9 tsyn c 11 rch blk 12 tsig 11 tssy nc 12 rsig 12 v rclk 6 tneg 6 rneg 6 rsig 6 rpos 7 rsig 7 rneg 7 tneg 7 tsig 7 tsig 10 rpos 10 tneg 10 rsyn c 10 jtclk rsyn c 11 rser 11 rch blk 11 tpos 11 dvdd 3 tpos 12 w tpos 6 rpos 6 sys clk 8 rser 6 tsyn c 6 rclk 7 tpos 7 ts sync 10 tser 10 rclk 10 rneg 10 rch blk 10 tsyn c 10 fs1 bts tser 11 rneg 11 tneg 11 rsig 11 tser 12 y rch blk 6 rsyn c 6 tclk 6 cs2* sys clk 7 tser 7 ts sync 7 rch blk 9 sys clk 10 tpos 10 rsig 10 rser 10 tclk 10 fs0 cs3* wr* ts sync 11 rclk 11 rpos 11 dvss 3
dallas semiconductor ds21ff42/DS21FT42 101899 /123 14 4. DS21FT42 (four x three) pcb land pattern figure 4-1 the diagram shown below is the lead pattern that will be placed on the target pcb. this is the same pattern that would be seen as viewed through the mcm from the top. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 a rpos 1 rclk 1 ts sync 1 tsyn c 4 tclk 4 dvss 1 rsyn c 4 rch blk 4 rneg 4 tneg 4 nc nc test ns ns nc nc nc nc nc b rsyn c 1 rneg 1 tpos 1 tser 1 sys clk 1 clksi 8 mclk sys clk 4 rclk 4 tpos 4 nc nc nc nc nc nc nc nc nc nc c rser 1 rch blk 1 tneg 1 tsig 1 tclk 3 rser 3 dvdd 1 rser4 rpos 4 tsig 4 nc nc nc nc ns nc nc nc nc nc d tclk 1 dvdd 1 rsig 1 rsig 3 dvss 1 rsyn c 3 tser 4 rsig4 rneg 3 rclk 3 nc nc nc nc nc nc nc nc nc nc e tser 2 sys clk 2 tsyn c 1 dvdd 1 sys clk 3 rch blk 3 tsyn c 3 ts sync 4 dvss 1 jtdi nc nc nc nc nc nc nc rd* nc nc f tsig 2 ts sync 2 tser 3 tsyn c 2 tneg 3 nc nc nc nc nc g rsyn c 2 rsig 2 rch blk 2 tsig 3 ts sync 3 int* a6 a4 a2 a0 h rpos 2 rneg 2 rser 2 rpos 3 tclk 2 jtms a7 a5 a3 a1 j tneg 2 tpos 2 rclk 8 rsyn c 8 tpos 3 nc nc nc nc nc k rclk 2 tclk 8 dvdd 2 dvss 2 rsig 8 nc jtrst* nc nc nc l tneg 5 tpos 5 tsig 5 ts sync 5 tser 5 dvdd 3 d6 d4 d2 d0 m rpos 5 rneg 5 rclk 5 sys clk 5 tsyn c 8 tser 9 d7 d5 d3 d1 n rch blk 5 rsig 5 rsyn c 5 rser 8 rch blk 8 tsyn c 12 rclk 12 nc nc nc p rser 5 dvdd 2 rneg 8 rpos 8 tneg 8 tclk 12 mux rsyn c 12 nc nc r tclk 5 tsyn c 5 tpos 8 ts sync 8 tsig 8 dvss 3 sys clk 12 tsig 12 rpos 12 nc t tser 6 sys clk 6 tser 8 sys clk 9 tsyn c 7 tclk 7 rser 7 cs1* rclk 9 rpos 9 rsyn c 9 dvdd 3 tsyn c 9 tpos 9 ts sync 9 rser 12 jtdot tclk 11 tneg 12 rneg 12 u ts sync 6 tsig 6 dvss 2 dvss 3 rsyn c 7 rch blk 7 dvdd 2 dvss 2 rneg 9 rsig 9 rser 9 sys clk 11 tclk 9 tneg 9 tsig 9 tsyn c 11 rch blk 12 tsig 11 tssy nc 12 rsig 12 v rclk 6 tneg 6 rneg 6 rsig 6 rpos 7 rsig 7 rneg 7 tneg 7 tsig 7 tsig 10 rpos 10 tneg 10 rsyn c 10 jtclk rsyn c 11 rser 11 rch blk 11 tpos 11 dvdd 3 tpos 12 w tpos 6 rpos 6 sys clk 8 rser 6 tsyn c 6 rclk 7 tpos 7 ts sync 10 tser 10 rclk 10 rneg 10 rch blk 10 tsyn c 10 fs1 bts tser 11 rneg 11 tneg 11 rsig 11 tser 12 y rch blk 6 rsyn c 6 tclk 6 cs2* sys clk 7 tser 7 ts sync 7 rch blk 9 sys clk 10 tpos 10 rsig 10 rser 10 tclk 10 fs0 cs3* wr* ts sync 11 rclk 11 rpos 11 dvss 3
dallas semiconductor ds21ff42/DS21FT42 101899 /123 15 5. ds21q42 features four t1 ds1/isdn?pri/j1 framing transceivers all four framers are fully independent each of the four framers contain dual two?frame elastic store slip buffers that can connect to asynchronous backplanes up to 8.192 mhz 8?bit parallel control port that can be used directly on either multiplexed or non? multiplexed buses (intel or motorola) programmable output clocks for fractional t1 fully independent transmit and receive functionality integral hdlc controller with 64-byte buffers. configurable for fdl or ds0 operation generates and detects in?band loop codes from 1 to 8 bits in length including csu loop codes pin compatible with ds21q44 e1 enhanced quad e1 framer 3.3v supply with 5v tolerant i/o; low power cmos available in 128?pin tqfp package ieee 1149.1 support functional diagram receive framer elastic store transmit formatter elastic store framer #0 framer #1 framer #2 framer #3 control port description the ds21q42 is an enhanced version of the ds21q41b quad t1 framer. the ds21q42 contains four framers that are configured and read through a common microprocessor compatible parallel port. each framer consists of a receive framer, receive elastic store,
dallas semiconductor ds21ff42/DS21FT42 101899 /123 16 transmit formatter and transmit elastic store. all four framers in the ds21q42 are totally independent, they do not share a common framing synchronizer. also the transmit and receive sides of each framer are totally independent. the dual two-frame elastic stores contained in each of the four framers can be independently enabled and disabled as required. the device fully meets all of the latest t1 specifications including ansi t1.403?1995, ansi t1.231?1993, at&t tr 62411 (12?90), at&t tr54016, and itu g.704 and g.706. 6. ds21q42 introduction the ds21q42 is a superset version of the popular ds21q41 quad t1 framer offering the new features listed below. all of the original features of the ds21q41 have been retained and software created for the original device is transferable to the ds21q42. setting the framer mode select (fms) pin to a logic 1 allows the ds21q42 to be used as a replacement for the ds21q41 allowing an existing design to use most of the new features. fms is tied to ground for the ds21ff42/DS21FT42. new features additional hardware signaling capability including: ? receive signaling re-insertion to a backplane multiframe sync ? availability of signaling in a separate pcm data stream ? signaling freezing ? interrupt generated on change of signaling data full hdlc controller with 64?byte buffers in both transmit and receive paths. configurable for fdl or ds0 access per?channel code insertion in both transmit and receive paths ability to monitor one ds0 channel in both the transmit and receive paths rcl, rlos, rra, and rais alarms now interrupt on change of state detects ais-ci 8.192 mhz clock synthesizer per?channel loopback ability to calculate and check crc6 according to the japanese standard ability to pass the f?bit position through the elastic stores in the 2.048 mhz backplane mode ieee 1149.1 support features four t1 ds1/isdn?pri/j1 framing transceivers all four framers are fully independent
dallas semiconductor ds21ff42/DS21FT42 101899 /123 17 frames to d4, esf, and slc?96 r formats each of the four framers contain dual two?frame elastic store slip buffers that can connect to asynchronous backplanes up to 8.192 mhz 8?bit parallel control port that can be used directly on either multiplexed or non? multiplexed buses (intel or motorola) extracts and inserts robbed bit signaling detects and generates yellow (rai) and blue (ais) alarms programmable output clocks for fractional t1 fully independent transmit and receive functionality generates and detects in?band loop codes from 1 to 8 bits in length including csu loop codes contains ansi one?s density monitor and enforcer large path and line error counters including bpv, cv, crc6, and framing bit errors pin compatible with ds21q44 e1 enhanced quad e1 framer 3.3v supply with 5v tolerant i/o; low power cmos available in 128?pin tqfp package functional description the receive side framer locates d4 (slc?96) or esf multiframe boundaries as well as detects incoming alarms including, carrier loss, loss of synchronization, blue (ais) and yellow alarms. if needed, the receive side elastic store can be enabled in order to absorb the phase and frequency differences between the recovered t1 data stream and an asynchronous backplane clock which is provided at the rsysclk input. the clock applied at the rsysclk input can be either a 2.048 mhz clock or a 1.544 mhz clock. the rsysclk can be a burst clock with speeds up to 8.192 mhz. the transmit side of the ds21q42 is totally independent from the receive side in both the clock requirements and characteristics. data off of a backplane can be passed through a transmit side elastic store if necessary. the transmit formatter will provide the necessary frame/multiframe data overhead for t1 transmission. reader?s note: this data sheet assumes a particular nomenclature of the t1 operating environment. in each 125 us frame, there are 24 eight?bit channels plus a framing bit. it is assumed that the framing bit is sent first followed by channel 1. each channel is made up of eight bits which are numbered 1 to 8. bit number 1 is the msb and is transmitted first. bit number 8 is the lsb and is transmitted last. throughout this data sheet, the following abbreviations will be used: d4 superframe (12 frames per multiframe) multiframe structure slc?96 subscriber loop carrier ? 96 channels (slc?96 is an at&t registered trademark)
dallas semiconductor ds21ff42/DS21FT42 101899 /123 18 esf extended superframe (24 frames per multiframe) multiframe structure b8zs bipolar with 8 zero substitution crc cyclical redundancy check ft terminal framing pattern in d4 fs signaling framing pattern in d4 fps framing pattern in esf mf multiframe boc bit oriented code hdlc high level data link control fdl facility data link
dallas semiconductor ds21ff42/DS21FT42 101899 /123 19 ds21q42 enhanced quad t1 framer figure 6 - 1 vss vdd framer #1 framer #3 framer #2 framer #0 parallel & test control port (routed to all blocks) d0 to d7 / ad0 to ad7 fs1 bts int* wr* (r/w*) rd* (ds*) fs0 cs* test ale (as)/ a6 a0 to a5, a7 mux 7 8 fms framer loopback payload loopback ais generation b8zs encode crc generation yellow alarm generation signaling insertion clear channel fdl insertion f-bit insertion receive side framer transmit side formatter bpv counter alarm detection per-channel code insert elastic store one's density enforcer loop code generation one's density monitor sync data clock sync data clock tsync tclk tchclk tser tchblk rchclk rchblk rlclk rmsync tssync tsysclk rlink rser rsysclk rsync rfsync tlink tlclk fdl extraction timing control elastic store sync control timing control b8zs decoder synchronizer loop code detector crc/frame error count signaling extraction channel marking signaling buffer rsig hardware signaling insertion tsig remote loopback 8mclk per-channel code insert per-channel loopback 64-byte buffer bom detection rpos rclk rneg tpos tneg clks i fdl insertion 64-byte buffer bom generation hdlc engine ds0 insertion hdlc engine ds0 insertion power 3 3 jtag port jtrst* jtms jtclk jtdi jtdo rlos/lotc 1 1 1 1 note: 1. alternate pin functions. consult data sheet for restrictions. lotc det & mux 8.192mhz clock synthesizer
dallas semiconductor ds21ff42/DS21FT42 101899 /123 20 7. ds21q42 pin function description this section describes the signals on the ds21q42 die. signals which are not bonded out or have limited functionality in the DS21FT42 and ds21ff42 are noted in italics. transmit side pins signal name: tclk signal description: transmit clock signal type: input a 1.544 mhz primary clock. used to clock data through the transmit side formatter. signal name: tser signal description: transmit serial data signal type: input transmit nrz serial data. sampled on the falling edge of tclk when the transmit side elastic store is disabled. sampled on the falling edge of tsysclk when the transmit side elastic store is enabled. signal name: tchclk signal description: transmit channel clock signal type: output a 192 khz clock which pulses high during the lsb of each channel. synchronous with tclk when the transmit side elastic store is disabled. synchronous with tsysclk when the transmit side elastic store is enabled. useful for parallel to serial conversion of channel data. this function is available when fms = 1 (ds21q41 emulation). this signal is not bonded out in the ds21ff42/DS21FT42. signal name: tchblk signal description: transmit channel block signal type: output a user programmable output that can be forced high or low during any of the 24 t1 channels. synchronous with tclk when the transmit side elastic store is disabled. synchronous with tsysclk when the transmit side elastic store is enabled. useful for blocking clocks to a serial uart or lapd controller in applications where not all t1 channels are used such as fractional t1, 384 kbps service, 768 kbps or isdn?pri . also useful for locating individual channels in drop?and?insert applications, for external per? channel loopback, and for per?channel conditioning. see section 16 for details. this signal is not bonded out in the ds21ff42/DS21FT42.
dallas semiconductor ds21ff42/DS21FT42 101899 /123 21 signal name: tsysclk signal description: transmit system clock signal type: input 1.544 mhz or 2.048 mhz clock. only used when the transmit side elastic store function is enabled. should be tied low in applications that do not use the transmit side elastic store. can be burst at rates up to 8.192 mhz. this pin is tied to the rsysclk signal in the ds21ff42/DS21FT42. signal name: tlclk signal description: transmit link clock signal type: output 4 khz or 2 khz (zbtsi) demand clock for the tlink input. see section 19 for details. this signal is not bonded out in the ds21ff42/DS21FT42. signal name: tlink signal description: transmit link data signal type: input if enabled via tcr1.2, this pin will be sampled on the falling edge of tclk for data insertion into either the fdl stream (esf) or the fs?bit position (d4) or the z?bit position (zbtsi). see section 19 for details. this signal is not bonded out in the ds21ff42/DS21FT42. signal name: tsync signal description: transmit sync signal type: input /output a pulse at this pin will establish either frame or multiframe boundaries for the transmit side. via tcr2.2, the ds21q42 can be programmed to output either a frame or multiframe pulse at this pin. if this pin is set to output pulses at frame boundaries, it can also be set via tcr2.4 to output double?wide pulses at signaling frames. see section 24 for details. signal name: tssync signal description: transmit system sync signal type: input only used when the transmit side elastic store is enabled. a pulse at this pin will establish either frame or multiframe boundaries for the transmit side. should be tied low in applications that do not use the transmit side elastic store. signal name: tsig signal description: transmit signaling input signal type: input
dallas semiconductor ds21ff42/DS21FT42 101899 /123 22 when enabled, this input will sample signaling bits for insertion into outgoing pcm t1 data stream. sampled on the falling edge of tclk when the transmit side elastic store is disabled. sampled on the falling edge of tsysclk when the transmit side elastic store is enabled. this function is available when fms = 0. fms is tied to ground for the ds21ff42/DS21FT42. signal name: tpos signal description: transmit positive data output signal type: output updated on the rising edge of tclk with the bipolar data out of the transmit side formatter. can be programmed to source nrz data via the output data format (ccr1.6) control bit. signal name: tneg signal description: transmit negative data output signal type: output updated on the rising edge of tclk with the bipolar data out of the transmit side formatter. receive side pins signal name: rlink signal description: receive link data signal type: output updated with either fdl data (esf) or fs bits (d4) or z bits (zbtsi) one rclk before the start of a frame. see section 24 for details. this signal is not bonded out in the ds21ff42/DS21FT42. signal name: rlclk signal description: receive link clock signal type: output a 4 khz or 2 khz (zbtsi) clock for the rlink output. this signal is not bonded out in the ds21ff42/DS21FT42. signal name: rchclk signal description: receive channel clock signal type: output a 192 khz clock which pulses high during the lsb of each channel. synchronous with rclk when the receive side elastic store is disabled. synchronous with rsysclk when the receive side elastic store is enabled. useful for parallel to serial conversion of channel data. this function is available when fms = 1 (ds21q41 emulation). this signal is not bonded out in the ds21ff42/DS21FT42. signal name: rchblk
dallas semiconductor ds21ff42/DS21FT42 101899 /123 23 signal description: receive channel block signal type: output a user programmable output that can be forced high or low during any of the 24 t1 channels. synchronous with rclk when the receive side elastic store is disabled. synchronous with rsysclk when the receive side elastic store is enabled. useful for blocking clocks to a serial uart or lapd controller in applications where not all t1 channels are used such as fractional t1, 384k bps service, 768k bps, or isdn?pri. also useful for locating individual channels in drop?and?insert applications, for external per? channel loopback, and for per?channel conditioning. see section 16 for details. signal name: rser signal description: receive serial data signal type: output received nrz serial data. updated on rising edges of rclk when the receive side elastic store is disabled. updated on the rising edges of rsysclk when the receive side elastic store is enabled. signal name: rsync signal description: receive sync signal type: input /output an extracted pulse, one rclk wide, is output at this pin which identifies either frame (rcr2.4 = 0) or multiframe (rcr2.4 = 1) boundaries. if set to output frame boundaries then via rcr2.5, rsync can also be set to output double?wide pulses on signaling frames. if the receive side elastic store is enabled via ccr1.2, then this pin can be enabled to be an input via rcr2.3 at which a frame or multiframe boundary pulse is applied. see section 24 for details. signal name: rfsync signal description: receive frame sync signal type: output an extracted 8 khz pulse, one rclk wide, is output at this pin which identifies frame boundaries. this signal is not bonded out in the ds21ff42/DS21FT42. signal name: rmsync signal description: receive multiframe sync signal type: output an extracted pulse, one rsysclk wide, is output at this pin which identifies multiframe boundaries. if the receive side elastic store is disabled, then this output will output multiframe boundaries associated with rclk. this function is available when fms = 1 (ds21q41 emulation). this signal is not bonded out in the ds21ff42/DS21FT42. signal name: rsysclk
dallas semiconductor ds21ff42/DS21FT42 101899 /123 24 signal description: receive system clock signal type: input 1.544 mhz or 2.048 mhz clock. only used when the elastic store function is enabled. should be tied low in applications that do not use the elastic store. can be burst at rates up to 8.192 mhz. this pin is tied to the tsysclk signal in the ds21ff42/DS21FT42. signal name: rsig signal description: receive signaling output signal type: output outputs signaling bits in a pcm format. updated on rising edges of rclk when the receive side elastic store is disabled. updated on the rising edges of rsysclk when the receive side elastic store is enabled. this function is available when fms = 0. fms is tied to ground for the ds21ff42/DS21FT42. signal name: rlos/lotc signal description: receive loss of sync / loss of transmit clock signal type: output a dual function output that is controlled by the ccr3.5 control bit. this pin can be programmed to either toggle high when the synchronizer is searching for the frame and multiframe or to toggle high if the tclk pin has not been toggled for 5 usec. this function is available when fms = 1 (ds21q41 emulation). this signal is not bonded out in the ds21ff42/DS21FT42. signal name: clksi signal description: 8 mhz clock reference signal type: input a 1.544 mhz reference clock used in the generation of 8mclk. this function is available when fms = 0. fms is tied to ground for the ds21ff42/DS21FT42. signal name: 8mclk signal description: 8 mhz clock signal type: output a 8.192 mhz output clock that is referenced to the clock that is input at the clksi pin. this function is available when fms = 0. fms is tied to ground for the ds21ff42/DS21FT42. signal name: rpos signal description: receive positive data input signal type: input
dallas semiconductor ds21ff42/DS21FT42 101899 /123 25 sampled on the falling edge of rclk for data to be clocked through the receive side framer. rpos and rneg can be tied together for an nrz interface. connecting rpos to rneg disables the bipolar violation monitoring circuitry. signal name: rneg signal description: receive negative data input signal type: input sampled on the falling edge of rclk for data to be clocked through the receive side framer. rpos and rneg can be tied together for an nrz interface. connecting rpos to rneg disables the bipolar violation monitoring circuitry. signal name: rclk signal description: receive clock input signal type: input clock used to clock data through the receive side framer. parallel control port pins signal name: int* signal description: interrupt signal type: output flags host controller during conditions and change of conditions defined in the status registers 1 and 2 and the hdlc status register. active low, open drain output. signal name: fms signal description: framer mode select signal type: input set low to select ds21q42 feature set. set high to select ds21q41 emulation. fms is tied to ground for the ds21ff42/DS21FT42. signal name: mux signal description: bus operation signal type: input set low to select non?multiplexed bus operation. set high to select multiplexed bus operation. signal name: d0 to d7 / ad0 to ad7 signal description: data bus or address/data bus signal type: input /output in non?multiplexed bus operation (mux = 0), serves as the data bus. in multiplexed bus operation (mux = 1), serves as a 8?bit multiplexed address / data bus.
dallas semiconductor ds21ff42/DS21FT42 101899 /123 26 signal name: a0 to a5, a7 signal description: address bus signal type: input in non?multiplexed bus operation (mux = 0), serves as the address bus. in multiplexed bus operation (mux = 1), these pins are not used and should be tied low. signal name: ale(as)/a6 signal description: a6 or address latch enable (address strobe) signal type: input in non?multiplexed bus operation (mux = 0), serves as address bit 6. in multiplexed bus operation (mux = 1), serves to demultiplex the bus on a positive?going edge. signal name: bts signal description: bus type select signal type: input strap high to select motorola bus timing; strap low to select intel bus timing. this pin controls the function of the rd*(ds*), ale(as), and wr*(r/w*) pins. if bts = 1, then these pins assume the function listed in parenthesis (). signal name: rd*(ds*) signal description: read input (data strobe) signal type: input rd* and ds* are active low signals. note: ds is active high when mux=1. refer to bus timing diagrams in section 25. signal name: fs0 and fs1 signal description: framer selects signal type: input selects which of the four framers to be accessed. signal name: cs* signal description: chip select signal type: input must be low to read or write to the device. cs* is an active low signal. signal name: wr*( r/w*) signal description: write input(read/write) signal type: input wr* is an active low signal. test access port pins signal name: test
dallas semiconductor ds21ff42/DS21FT42 101899 /123 27 signal description: 3?state control signal type: input set high to 3?state all output and i/o pins (including the parallel control port) when fms = 1 or when fms = 0 and jtrst* is tied low. set low for normal operation. ignored when fms = 0 and jtrst* = 1. useful in board level testing. fms is tied to ground for the ds21ff42/DS21FT42. signal name: jtrst* signal description: ieee 1149.1 test reset signal type: input this signal is used to asynchronously reset the test access port controller. at power up, jtrst* must be set low and then high. this action will set the device into the device id mode allowing normal device operation. if boundary scan is not used and fms = 0, this pin should be held low. this function is available when fms = 0. when fms=1, this pin is held low internally. this pin is pulled up internally by a 10k ohm resistor. fms is tied to ground for the ds21ff42/DS21FT42. signal name: jtms signal description: ieee 1149.1 test mode select signal type: input this pin is sampled on the rising edge of jtclk and is used to place the test port into the various defined ieee 1149.1 states. this pin is pulled up internally by a 10k ohm resistor. if not used, this pin should be left unconnected. this function is available when fms = 0. fms is tied to ground for the ds21ff42/DS21FT42. signal name: jtclk signal description: ieee 1149.1 test clock signal signal type: input this signal is used to shift data into jtdi pin on the rising edge and out of jtdo pin on the falling edge. if not used, this pin should be connected to vss. this function is available when fms = 0. fms is tied to ground for the ds21ff42/DS21FT42. signal name: jtdi signal description: ieee 1149.1 test data input signal type: input test instructions and data are clocked into this pin on the rising edge of jtclk. this pin is pulled up internally by a 10k ohm resistor. if not used, this pin should be left unconnected. this function is available when fms = 0. fms is tied to ground for the ds21ff42/DS21FT42. signal name: jtdo signal description: ieee 1149.1 test data output signal type: output
dallas semiconductor ds21ff42/DS21FT42 101899 /123 28 test instructions and data are clocked out of this pin on the falling edge of jtclk. if not used, this pin should be left unconnected. this function is available when fms = 0. fms is tied to ground for the ds21ff42/DS21FT42. supply pins signal name: vdd signal description: positive supply signal type: supply 2.97 to 3.63 volts. signal name: vss signal description: signal ground signal type: supply 0.0 volts.
dallas semiconductor ds21ff42/DS21FT42 101899 /123 29 8. ds21q42 register map register map sorted by address table 8 - 1 address r/w register name register abbreviation 00 r/w hdlc control hcr 01 r/w hdlc status hsr 02 r/w hdlc interrupt mask himr 03 r/w receive hdlc information rhir 04 r/w receive bit oriented code rboc 05 r receive hdlc fifo rhfr 06 r/w transmit hdlc information thir 07 r/w transmit bit oriented code tboc 08 w transmit hdlc fifo thfr 09 ? not used (set to 00h) 0a r/w common control 7 ccr7 0b ? not used (set to 00h) 0c ? not used (set to 00h) 0d ? not used (set to 00h) 0e ? not used (set to 00h) 0f r device id idr 10 r/w receive information 3 rir3 11 r/w common control 4 ccr4 12 r/w in?band code control ibcc 13 r/w transmit code definition tcd 14 r/w receive up code definition rupcd 15 r/w receive down code definition rdncd 16 r/w transmit channel control 1 tcc1 17 r/w transmit channel control 2 tcc2 18 r/w transmit channel control 3 tcc3 19 r/w common control 5 ccr5 1a r transmit ds0 monitor tds0m 1b r/w receive channel control 1 rcc1 1c r/w receive channel control 2 rcc2 1d r/w receive channel control 3 rcc3 1e r/w common control 6 ccr6 1f r receive ds0 monitor rds0m 20 r/w status 1 sr1 21 r/w status 2 sr2 22 r/w receive information 1 rir1 23 r line code violation count 1 lcvcr1 24 r line code violation count 2 cvcr2 25 r path code violation count 1 pcvcr1 26 r path code violation count 2 pcvcr2
dallas semiconductor ds21ff42/DS21FT42 101899 /123 30 27 r multiframe out of sync count 2 moscr2 28 r receive fdl register rfdl 29 r/w receive fdl match 1 rmtch1 2a r/w receive fdl match 2 rmtch2 2b r/w receive control 1 rcr1 2c r/w receive control 2 rcr2 2d r/w receive mark 1 rmr1 2e r/w receive mark 2 rmr2 2f r/w receive mark 3 rmr3 30 r/w common control 3 ccr3 31 r/w receive information 2 rir2 32 r/w transmit channel blocking 1 tcbr1 33 r/w transmit channel blocking 2 tcbr2 34 r/w transmit channel blocking 3 tcbr3 35 r/w transmit control 1 tcr1 36 r/w transmit control 2 tcr2 37 r/w common control 1 ccr1 38 r/w common control 2 ccr2 39 r/w transmit transparency 1 ttr1 3a r/w transmit transparency 2 ttr2 3b r/w transmit transparency 3 ttr3 3c r/w transmit idle 1 tir1 3d r/w transmit idle 2 tir2 3e r/w transmit idle 3 tir3 3f r/w transmit idle definition tidr 40 r/w transmit channel 9 tc9 41 r/w transmit channel 10 tc10 42 r/w transmit channel 11 tc11 43 r/w transmit channel 12 tc12 44 r/w transmit channel 13 tc13 45 r/w transmit channel 14 tc14 46 r/w transmit channel 15 tc15 47 r/w transmit channel 16 tc16 48 r/w transmit channel 17 tc17 49 r/w transmit channel 18 tc18 4a r/w transmit channel 19 tc19 4b r/w transmit channel 20 tc20 4c r/w transmit channel 21 tc21 4d r/w transmit channel 22 tc22 4e r/w transmit channel 23 tc23 4f r/w transmit channel 24 tc24 50 r/w transmit channel 1 tc1 51 r/w transmit channel 2 tc2 52 r/w transmit channel 3 tc3 53 r/w transmit channel 4 tc4 54 r/w transmit channel 5 tc5 55 r/w transmit channel 6 tc6
dallas semiconductor ds21ff42/DS21FT42 101899 /123 31 56 r/w transmit channel 7 tc7 57 r/w transmit channel 8 tc8 58 r/w receive channel 17 rc17 59 r/w receive channel 18 rc18 5a r/w receive channel 19 rc19 5b r/w receive channel 20 rc20 5c r/w receive channel 21 rc21 5d r/w receive channel 22 rc22 5e r/w receive channel 23 rc23 5f r/w receive channel 24 rc24 60 r receive signaling 1 rs1 61 r receive signaling 2 rs2 62 r receive signaling 3 rs3 63 r receive signaling 4 rs4 64 r receive signaling 5 rs5 65 r receive signaling 6 rs6 66 r receive signaling 7 rs7 67 r receive signaling 8 rs8 68 r receive signaling 9 rs9 69 r receive signaling 10 rs10 6a r receive signaling 11 rs11 6b r receive signaling 12 rs12 6c r/w receive channel blocking 1 rcbr1 6d r/w receive channel blocking 2 rcbr2 6e r/w receive channel blocking 3 rcbr3 6f r/w interrupt mask 2 imr2 70 r/w transmit signaling 1 ts1 71 r/w transmit signaling 2 ts2 72 r/w transmit signaling 3 ts3 73 r/w transmit signaling 4 ts4 74 r/w transmit signaling 5 ts5 75 r/w transmit signaling 6 ts6 76 r/w transmit signaling 7 ts7 77 r/w transmit signaling 8 ts8 78 r/w transmit signaling 9 ts9 79 r/w transmit signaling 10 ts10 7a r/w transmit signaling 11 ts11 7b r/w transmit signaling 12 ts12 7c ? not used (set to 00h) 7d r/w test 1 test1 (set to 00h) 7e r/w transmit fdl register tfdl 7f r/w interrupt mask register 1 imr1 80 r/w receive channel 1 rc1 81 r/w receive channel 2 rc2 82 r/w receive channel 3 rc3 83 r/w receive channel 4 rc4 84 r/w receive channel 5 rc5
dallas semiconductor ds21ff42/DS21FT42 101899 /123 32 85 r/w receive channel 6 rc6 86 r/w receive channel 7 rc7 87 r/w receive channel 8 rc8 88 r/w receive channel 9 rc9 89 r/w receive channel 10 rc10 8a r/w receive channel 11 rc11 8b r/w receive channel 12 rc12 8c r/w receive channel 13 rc13 8d r/w receive channel 14 rc14 8e r/w receive channel 15 rc15 8f r/w receive channel 16 rc16 90 r/w receive hdlc ds0 control register 1 rdc1 91 r/w receive hdlc ds0 control register 2 rdc2 92 r/w transmit hdlc ds0 control register 1 tdc1 93 r/w transmit hdlc ds0 control register 2 tdc2 94 r/w interleave bus operation register ibo 95 ? not used (set to 00h) 96 r/w test 2 test2 (set to 00h) 97 ? not used (set to 00h) 98 ? not used (set to 00h) 99 ? not used (set to 00h) 9a ? not used (set to 00h) 9b ? not used (set to 00h) 9c ? not used (set to 00h) 9d ? not used (set to 00h) 9e ? not used (set to 00h) 9f ? not used (set to 00h) notes: 1. test registers 1 and 2 are used only by the factory; these registers must be cleared (set to all zeros) on power? up initialization to insure proper operation. 2. register banks axh, bxh, cxh, dxh, exh, and fxh are not accessible.
dallas semiconductor ds21ff42/DS21FT42 101899 /123 33 9. parallel port the ds21q42 is controlled via either a nonmultiplexed (mux = 0) or a multiplexed (mux = 1) bus by an external microcontroller or microprocessor. the ds21q42 can operate with either intel or motorola bus timing configurations. if the bts pin is tied low, intel timing will be selected; if tied high, motorola timing will be selected. all motorola bus signals are listed in parenthesis (). see the timing diagrams in the a.c. electrical characteristics in section 25 for more details. 10. control, id and test registers the operation of each framer within the ds21q42 is configured via a set of eleven control registers. typically, the control registers are only accessed when the system is first powered up. once a channel in the ds21q42 has been initialized, the control registers will only need to be accessed when there is a change in the system configuration. there are two receive control register (rcr1 and rcr2), two transmit control registers (tcr1 and tcr2), and seven common control registers (ccr1 to ccr7). each of the eleven registers are described in this section. there is a device identification register (idr) at address 0fh. the msb of this read?only register is fixed to a zero indicating that the ds21q42 is present. the e1 pin?for?pin compatible version of the ds21q42 is the ds21q44 and it also has an id register at address 0fh and the user can read the msb to determine which chip is present since in the ds21q42 the msb will be set to a zero and in the ds21q44 it will be set to a one. the lower four bits of the idr are used to display the die revision of the chip. power?up sequence the ds21q42 does not automatically clear its register space on power?up. after the supplies are stable, each of the four framer?s register space should be configured for operation by writing to all of the internal registers. this includes setting the test and all unused registers to 00hex. this can be accomplished using a two-pass approach on each framer within the ds21q42. 1. clear framer?s register space by writing 00h to the addresses 00h through 09fh. 2. program required registers to achieve desired operating mode. note: when emulating the ds21q41 feature set (fms = 1), the full address space (00h through 09fh) must be initialized. ds21q41 emulation requires address pin a7 to be used. fms is tied to ground for the ds21ff42/DS21FT42.
dallas semiconductor ds21ff42/DS21FT42 101899 /123 34 finally, after the tsysclk and rsysclk inputs are stable, the esr bit should be toggled from a zero to a one (this step can be skipped if the elastic stores are disabled). idr: device identification register (address=0f hex) (msb) (lsb) t1e1 0 0 0 id3 id2 id1 id0 symbol position name and description t1e1 idr.7 t1 or e1 chip determination bit. 0=t1 chip 1=e1 chip id3 idr.3 chip revision bit 3. msb of a decimal code that represents the chip revision. id2 idr.1 chip revision bit 2. id1 idr.2 chip revision bit 1. id0 idr.0 chip revision bit 0. lsb of a decimal code that represents the chip revision. rcr1: receive control register 1 (address=2b hex) (msb) (lsb) lcvcrf arc oof1 oof2 syncc synct synce resync symbol position name and description lcvcrf rcr1.7 line code violation count register function select. 0 = do not count excessive zeros 1 = count excessive zeros arc rcr1.6 auto resync criteria. 0 = resync on oof or rcl event 1 = resync on oof only oof1 rcr1.5 out of frame select 1. 0 = 2/4 frame bits in error 1 = 2/5 frame bits in error oof2 rcr1.4 out of frame select 2. 0 = follow rcr1.5 1 = 2/6 frame bits in error
dallas semiconductor ds21ff42/DS21FT42 101899 /123 35 syncc rcr1.3 sync criteria. in d4 framing mode. 0 = search for ft pattern, then search for fs pattern 1 = cross couple ft and fs pattern in esf framing mode. 0 = search for fps pattern only 1 = search for fps and verify with crc6 synct rcr1.2 sync time. 0 = qualify 10 bits 1 = qualify 24 bits synce rcr1.1 sync enable. 0 = auto resync enabled 1 = auto resync disabled resync rcr1.0 resync. when toggled from low to high, a resynchronization of the receive side framer is initiated. must be cleared and set again for a subsequent resync. rcr2: receive control register 2 (address=2c hex) (msb) (lsb) rcs rzbtsi rsdw rsm rsio rd4ym fsbe moscrf symbol position name and description rcs rcr2.7 receive code select. see section 15 for more details. 0 = idle code (7f hex) 1 = digital milliwatt code (1e/0b/0b/1e/9e/8b/8b/9e hex) rzbtsi rcr2.6 receive side zbtsi enable. 0 = zbtsi disabled 1 = zbtsi enabled rsdw rcr2.5 rsync double?wide. (note: this bit must be set to zero when rcr2.4 = 1 or when rcr2.3 = 1) 0 = do not pulse double wide in signaling frames 1 = do pulse double wide in signaling frames rsm rcr2.4 rsync mode select. (a don?t care if rsync is programmed as an input) 0 = frame mode (see the timing in section 24) 1 = multiframe mode (see the timing in section 24) rsio rcr2.3 rsync i/o select. (note: this bit must be set to zero when ccr1.2 = 0) 0 = rsync is an output 1 = rsync is an input (only valid if elastic store enabled) rd4ym rcr2.2 receive side d4 yellow alarm select. 0 = zeros in bit 2 of all channels 1 = a one in the s?bit position of frame 12
dallas semiconductor ds21ff42/DS21FT42 101899 /123 36 fsbe rcr2.1 pcvcr fs?bit error report enable. 0 = do not report bit errors in fs?bit position; only ft bit position 1 = report bit errors in fs?bit position as well as ft bit position moscrf rcr2.0 multiframe out of sync count register function select. 0 = count errors in the framing bit position 1 = count the number of multiframes out of sync tcr1: transmit control register 1 (address=35 hex) (msb) (lsb) lotcmc tfpt tcpt tsse gb7s tfdls tbl tyel symbol position name and description lotcmc tcr1.7 loss of transmit clock mux control. determines whether the transmit side formatter should switch to rclk if the tclk input should fail to transition (see figure 6-1 for details). 0 = do not switch to rclk if tclk stops 1 = switch to rclk if tclk stops tfpt tcr1.6 transmit f?bit pass through. (see note below) 0 = f bits sourced internally 1 = f bits sampled at tser tcpt tcr1.5 transmit crc pass through. (see note below) 0 = source crc6 bits internally 1 = crc6 bits sampled at tser during f?bit time tsse tcr1.4 software signaling insertion enable. (see note below) 0 = no signaling is inserted in any channel 1 = signaling is inserted in all channels from the ts1-ts12 registers (the ttr registers can be used to block insertion on a channel by channel basis) gb7s tcr1.3 global bit 7 stuffing. (see note below) 0 = allow the ttr registers to determine which channels containing all zeros are to be bit 7 stuffed 1 = force bit 7 stuffing in all zero byte channels regardless of how the ttr registers are programmed tfdls tcr1.2 tfdl register select. (see note below) 0 = source fdl or fs bits from the internal tfdl register (legacy fdl support mode) 1 = source fdl or fs bits from the internal hdlc/boc controller or the tlink pin tbl tcr1.1 transmit blue alarm. (see note below) 0 = transmit data normally 1 = transmit an unframed all one?s code at tpos and tneg tyel tcr1.0 transmit yellow alarm. (see note below) 0 = do not transmit yellow alarm 1 = transmit yellow alarm
dallas semiconductor ds21ff42/DS21FT42 101899 /123 37 note: for a description of how the bits in tcr1 affect the transmit side formatter, see figure 24-15. tcr2: transmit control register 2 (address=36 hex) (msb) (lsb) test1 test0 tzbtsi tsdw tsm tsio td4ym tb7zs symbol position name and description test1 tcr2.7 test mode bit 1 for output pins. see table 10?1. test0 tcr2.6 test mode bit 0 for output pins. see table 10?1. tzbtsi tcr2.5 transmit side zbtsi enable. 0 = zbtsi disabled 1 = zbtsi enabled tsdw tcr2.4 tsync double?wide. (note: this bit must be set to zero when tcr2.3=1 or when tcr2.2=0) 0 = do not pulse double?wide in signaling frames 1 = do pulse double?wide in signaling frames tsm tcr2.3 tsync mode select. 0 = frame mode (see the timing in section 24) 1 = multiframe mode (see the timing in section 24) tsio tcr2.2 tsync i/o select. 0 = tsync is an input 1 = tsync is an output td4ym tcr2.1 transmit side d4 yellow alarm select. 0 = zeros in bit 2 of all channels 1 = a one in the s?bit position of frame 12 tb7zs tcr2.0 transmit side bit 7 zero suppression enable. 0 = no stuffing occurs 1 = bit 7 force to a one in channels with all zeros output pin test modes table 10 - 1 test 1 test 0 effect on output pins 0 0 operate normally 0 1 force all of the selected framer?s output pins 3?state (excludes other framers i/o pins and parallel port pins) 1 0 force all of the selected framer?s output pins low (excludes other framers i/o pins and parallel port pins) 1 1 force all of the selected framer?s output pins high (excludes other framers i/o pins and parallel port pins)
dallas semiconductor ds21ff42/DS21FT42 101899 /123 38 ccr1: common control register 1 (address=37 hex) (msb) (lsb) tese odf rsao tsclkm rsclkm rese plb flb symbol position name and description tese ccr1.7 transmit elastic store enable. 0 = elastic store is bypassed 1 = elastic store is enabled odf ccr1.6 output data format. 0 = bipolar data at tpos and tneg 1 = nrz data at tpos; tneg = 0 rsao ccr1.5 receive signaling all one?s. this bit should not be enabled if hardware signaling is being utilized. see section 14 for more details. 0 = allow robbed signaling bits to appear at rser 1 = force all robbed signaling bits at rser to one tsclkm ccr1.4 tsysclk mode select. 0 = if tsysclk is 1.544 mhz 1 = if tsysclk is 2.048 mhz rsclkm ccr1.3 rsysclk mode select. 0 = if rsysclk is 1.544 mhz 1 = if rsysclk is 2.048 mhz rese ccr1.2 receive elastic store enable. 0 = elastic store is bypassed 1 = elastic store is enabled plb ccr1.1 payload loopback. 0 = loopback disabled 1 = loopback enabled flb ccr1.0 framer loopback. 0 = loopback disabled 1 = loopback enabled payload loopback when ccr1.1 is set to a one, the ds21q42 will be forced into payload loopback (plb). normally, this loopback is only enabled when esf framing is being performed but can be enabled also in d4 framing applications. in a plb situation, the ds21q42 will loop the 192 bits of payload data (with bpvs corrected) from the receive section back to the transmit section. the fps framing pattern, crc6 calculation, and the fdl bits are not looped back, they are reinserted by the ds21q42. when plb is enabled, the following will occur: 1. data will be transmitted from the tpos and tneg pins synchronous with rclk instead of tclk 2. all of the receive side signals will continue to operate normally 3. the tchclk and tchblk signals are forced low 4. data at the tser, and tsig pins is ignored 5. the tlclk signal will become synchronous with rclk instead of tclk.
dallas semiconductor ds21ff42/DS21FT42 101899 /123 39 framer loopback when ccr1.0 is set to a one, the ds21q42 will enter a framer loopback (flb) mode. this loopback is useful in testing and debugging applications. in flb, the ds21q42 will loop data from the transmit side back to the receive side. when flb is enabled, the following will occur: 1. an unframed all one?s code will be transmitted at tpos and tneg 2. data at rpos and rneg will be ignored 3. all receive side signals will take on timing synchronous with tclk instead of rclk please note that it is not acceptable to have rclk tied to tclk during this loopback because this will cause an unstable condition. ccr2: common control register 2 (address=38 hex) (msb) (lsb) tfm tb8zs tslc96 tzse rfm rb8zs rslc96 rzse symbol position name and description tfm ccr2.7 transmit frame mode select. 0 = d4 framing mode 1 = esf framing mode tb8zs ccr2.6 transmit b8zs enable. 0 = b8zs disabled 1 = b8zs enabled tslc96 ccr2.5 transmit slc?96 / fs?bit insertion enable. only set this bit to a one in d4 framing applications. must be set to one to source the fs pattern. see section 19 for details. 0 = slc?96/fs?bit insertion disabled 1 = slc?96/fs?bit insertion enabled tzse ccr2.4 transmit fdl zero stuffer enable. set this bit to zero if using the internal hdlc/boc controller instead of the legacy support for the fdl. see section 19 for details. 0 = zero stuffer disabled 1 = zero stuffer enabled rfm ccr2.3 receive frame mode select. 0 = d4 framing mode 1 = esf framing mode rb8zs ccr2.2 receive b8zs enable. 0 = b8zs disabled 1 = b8zs enabled rslc96 ccr2.1 receive slc?96 enable. only set this bit to a one in d4/slc?96 framing applications. see section 19 for details. 0 = slc?96 disabled 1 = slc?96 enabled
dallas semiconductor ds21ff42/DS21FT42 101899 /123 40 rzse ccr2.0 receive fdl zero destuffer enable. set this bit to zero if using the internal hdlc/boc controller instead of the legacy support for the fdl. see section 19 for details. 0 = zero destuffer disabled 1 = zero destuffer enabled ccr3: common control register 3 (address=30 hex) (msb) (lsb) resmdm tclksrc rlosf rsms pde ecus tloop tesmdm symbol position name and description resmdm ccr3.7 receive elastic store minimum delay mode. see section 17 for details. 0 = elastic stores operate at full two frame depth 1 = elastic stores operate at 32?bit depth tclksrc ccr3.6 transmit clock source select. this function allows the user to internally select rclk as the clock source for the transmit side formatter. 0 = transmit side formatter clocked with signal applied at tclk pin. lotc mux function is operational (tcr1.7) 1 = transmit side formatter clocked with rclk. rlosf ccr3.5 function of the rlos/lotc output. active only when fms = 1 (ds21q41 emulation). 0 = receive loss of sync (rlos) 1 = loss of transmit clock (lotc) fms is tied to ground for the ds21ff42/DS21FT42. rsms ccr3.4 rsync multiframe skip control. useful in framing format conversions from d4 to esf. this function is not available when the receive side elastic store is enabled. 0 = rsync will output a pulse at every multiframe 1 = rsync will output a pulse at every other multiframe note: for this bit to have any affect, the rsync must be set to output multiframe pulses (rcr2.4=1 and rcr2.3=0). pde ccr3.3 pulse density enforcer enable. 0 = disable transmit pulse density enforcer 1 = enable transmit pulse density enforcer ecus ccr3.2 error counter update select. see section 12 for details. 0 = update error counters once a second 1 = update error counters every 42 ms (333 frames) tloop ccr3.1 transmit loop code enable. see section 20 for details. 0 = transmit data normally 1 = replace normal transmitted data with repeating code as defined in tcd register
dallas semiconductor ds21ff42/DS21FT42 101899 /123 41 tesmdm ccr3.0 transmit elastic store minimum delay mode. see section 17 for details. 0 = elastic stores operate at full two frame depth 1 = elastic stores operate at 32?bit depth pulse density enforcer the framer always examines both the transmit and receive data streams for violations of the following rules which are required by ansi t1.403: ? no more than 15 consecutive zeros ? at least n ones in each and every time window of 8 x (n +1) bits where n = 1 through 23 violations for the transmit and receive data streams are reported in the rir2.0 and rir2.1 bits respectively. when the ccr3.3 is set to one, the ds21q42 will force the transmitted stream to meet this requirement no matter the content of the transmitted stream. when running b8zs, the ccr3.3 bit should be set to zero since b8zs encoded data streams cannot violate the pulse density requirements. ccr4: common control register 4 (address=11 hex) (msb) (lsb) rsre rpcsi rfsa1 rfe rff thse tpcsi tirfs symbol position name and description rsre ccr4.7 receive side signaling re?insertion enable. see section 14 for details. 0 = do not re?insert signaling bits into the data stream presented at the rser pin 1 = reinsert the signaling bits into data stream presented at the rser pin rpcsi ccr4.6 receive per?channel signaling insert. see section 14 for more details. 0 = do not use rchblk to determine which channels should have signaling re?inserted 1 = use rchblk to determine which channels should have signaling re?inserted rfsa1 ccr4.5 receive force signaling all ones. see section 14 for more details. 0 = do not force extracted robbed?bit signaling bit positions to a one 1 = force extracted robbed?bit signaling bit positions to a one rfe ccr4.4 receive freeze enable. see section 14 for details. 0 = no freezing of receive signaling data will occur 1 = allow freezing of receive signaling data at rsig (and rser if ccr4.7 = 1).
dallas semiconductor ds21ff42/DS21FT42 101899 /123 42 rff ccr4.3 receive force freeze. freezes receive side signaling at rsig (and rser if ccr4.7=1); will override receive freeze enable (rfe). see section 14 for details. 0 = do not force a freeze event 1 = force a freeze event thse ccr4.2 transmit hardware signaling insertion enable. see section 14 for details. 0 = do not insert signaling from the tsig pin into the data stream presented at the tser pin. 1 = insert the signaling from the tsig pin into data stream presented at the tser pin. tpcsi ccr4.1 transmit per?channel signaling insert. see section 14 for details. 0 = do not use tchblk to determine which channels should have signaling inserted from the tsig pin. 1 = use tchblk to determine which channels should have signaling inserted from the tsig pin. tirfs ccr4.0 transmit idle registers (tir) function select. see section 15 for timing details. 0 = tirs define in which channels to insert idle code 1 = tirs define in which channels to insert data from rser (i.e., per = channel loopback function) ccr5: common control register 5 (address=19 hex) (msb) (lsb) tjc ? ? tcm4 tcm3 tcm2 tcm1 tcm0 symbol position name and description tjc ccr5.7 transmit japanese crc6 enable. 0 = use ansi/at&t/itu crc6 calculation (normal operation) 1 = use japanese standard jt?g704 crc6 calculation ? ccr5.6 not assigned. must be set to zero when written. ? ccr5.5 not assigned. must be set to zero when written. tcm4 ccr5.4 transmit channel monitor bit 4. msb of a channel decode that determines which transmit channel data will appear in the tds0m register. see section 13 for details. tcm3 ccr5.3 transmit channel monitor bit 3. tcm2 ccr5.2 transmit channel monitor bit 2. tcm1 ccr5.1 transmit channel monitor bit 1. tcm0 ccr5.0 transmit channel monitor bit 0. lsb of the channel decode. ccr6: common control register 6 (address=1e hex)
dallas semiconductor ds21ff42/DS21FT42 101899 /123 43 (msb) (lsb) rjc resalgn tesalgn rcm4 rcm3 rcm2 rcm1 rcm0 symbol position name and description rjc ccr6.7 receive japanese crc6 enable. 0 = use ansi/at&t/itu crc6 calculation (normal operation) 1 = use japanese standard jt?g704 crc6 calculation resalgn ccr6.6 receive elastic store align. setting this bit from a zero to a one may force the receive elastic store?s write/read pointers to a minimum separation of half a frame. no action will be taken if the pointer separation is already greater or equal to half a frame. if pointer separation is less then half a frame, the command will be executed and data will be disrupted. should be toggled after rsysclk has been applied and is stable. must be cleared and set again for a subsequent align. see section 17 for details. tesalgn ccr6.5 transmit elastic store align. setting this bit from a zero to a one may force the transmit elastic store?s write/read pointers to a minimum separation of half a frame. no action will be taken if the pointer separation is already greater or equal to half a frame. if pointer separation is less then half a frame, the command will be executed and data will be disrupted. should be toggled after tsysclk has been applied and is stable. must be cleared and set again for a subsequent align. see section 17 for details. rcm4 ccr6.4 receive channel monitor bit 4. msb of a channel decode that determines which receive channel data will appear in the rds0m register. see section 13 for details. rcm3 ccr6.3 receive channel monitor bit 3. rcm2 ccr6.2 receive channel monitor bit 2. rcm1 ccr6.1 receive channel monitor bit 1. rcm0 ccr6.0 receive channel monitor bit 0 . lsb of the channel decode. ccr7: common control register 7 (address=0a hex) (msb) (lsb) ? rlb resr tesr ? ? ? ? symbol position name and description ? ccr7.7 not assigned. should be set to zero when written to. rlb ccr7.6 remote loopback. 0 = loopback disabled 1 = loopback enabled resr ccr7.5 receive elastic store reset. setting this bit from a zero to a one will force the receive elastic store to a depth of one frame. receive data is lost during the reset. should be toggled after rsysclk has been applied and is stable. do not leave this bit set high.
dallas semiconductor ds21ff42/DS21FT42 101899 /123 44 tesr ccr7.4 transmit elastic store reset. setting this bit from a zero to a one will force the transmit elastic store to a depth of one frame. transmit data is lost during the reset. should be toggled after tsysclk has been applied and is stable. do not leave this bit set high. ? ccr7.3 not assigned. should be set to zero when written to. ? ccr7.2 not assigned. should be set to zero when written to. ? ccr7.1 not assigned. should be set to zero when written to. ? ccr7.0 not assigned. should be set to zero when written to. remote loopback when ccr7.6 is set to a one, the ds21q42 will be forced into remote loopback (rlb). in this loopback, data input via the rpos and rneg pins will be transmitted back to the tpos and tneg pins. data will continue to pass through the receive side framer of the ds21q42 as it would normally and the data from the transmit side formatter will be ignored. please see figure 6-1 for more details.
dallas semiconductor ds21ff42/DS21FT42 101899 /123 45 11. status and information registers there is a set of nine registers per channel that contain information on the current real time status of a framer in the ds21q42, status register 1 (sr1), status register 2 (sr2), receive information registers 1 to 3 (rir1/rir2/rir3) and a set of four registers for the onboard hdlc and boc controller. the specific details on the four registers pertaining to the hdlc and boc controller are covered in section 19 but they operate the same as the other status registers in the ds21q42 and this operation is described below. when a particular event has occurred (or is occurring), the appropriate bit in one of these nine registers will be set to a one. all of the bits in sr1, sr2, rir1, rir2, and rir3 registers operate in a latched fashion. this means that if an event or an alarm occurs and a bit is set to a one in any of the registers, it will remain set until the user reads that bit. the bit will be cleared when it is read and it will not be set again until the event has occurred again (or in the case of the rbl, ryel, lrcl, and rlos alarms, the bit will remain set if the alarm is still present). there are bits in the four hdlc and boc status registers that are not latched and these bits are listed in section 19. the user will always precede a read of any of the nine registers with a write. the byte written to the register will inform the ds21q42 which bits the user wishes to read and have cleared. the user will write a byte to one of these registers, with a one in the bit positions he or she wishes to read and a zero in the bit positions he or she does not wish to obtain the latest information on. when a one is written to a bit location, the read register will be updated with the latest information. when a zero is written to a bit position, the read register will not be updated and the previous value will be held. a write to the status and information registers will be immediately followed by a read of the same register. the read result should be logically and?ed with the mask byte that was just written and this value should be written back into the same register to insure that bit does indeed clear. this second write step is necessary because the alarms and events in the status registers occur asynchronously in respect to their access via the parallel port. this write?read? write scheme allows an external microcontroller or microprocessor to individually poll certain bits without disturbing the other bits in the register. this operation is key in controlling the ds21q42 with higher?order software languages. the sr1, sr2, and fdls registers have the unique ability to initiate a hardware interrupt via the int* output pin. each of the alarms and events in the sr1, sr2, and hsr can be either masked or unmasked from the interrupt pin via the interrupt mask register 1 (imr1), interrupt mask register 2 (imr2), and hdlc interrupt mask register (himr) respectively. the fimr register is covered in section 19. the interrupt status register can be used to determine which framer is requesting interrupt servicing and the type of the request: status or the hdlc controller.
dallas semiconductor ds21ff42/DS21FT42 101899 /123 46 the interrupts caused by alarms in sr1 (namely ryel, rcl, rbl, rlos and lotc) act differently than the interrupts caused by events in sr1 and sr2 (namely lup, ldn, rslip, rmf, tmf, sec, rfdl, tfdl, rmtch, raf, and rsc) and himr. the alarm caused interrupts will force the int* pin low whenever the alarm changes state (i.e., the alarm goes active or inactive according to the set/clear criteria in table 11-1). the int* pin will be allowed to return high (if no other interrupts are present) when the user reads the alarm bit that caused the interrupt to occur even if the alarm is still present. the event caused interrupts will force the int* pin low when the event occurs. the int* pin will be allowed to return high (if no other interrupts are present) when the user reads the event bit that caused the interrupt to occur. isr: interrupt status register (any address from a0h to ffh) (msb) (lsb) f3hdlc f3sr f2hdlc f2sr f1hdlc f1sr f0hdlc f0sr symbol position name and description f3hdlc isr.7 framer 3 hdlc controller interrupt request. 0 = no interrupt request pending. 1 = interrupt request pending. f3sr isr.6 framer 3 sr1 or sr2 interrupt request. 0 = no interrupt request pending. 1 = interrupt request pending. f2hdlc isr.5 framer 2 hdlc controller interrupt request. 0 = no interrupt request pending. 1 = interrupt request pending. f2sr isr.4 framer 2 sr1 or sr2 interrupt request. 0 = no interrupt request pending. 1 = interrupt request pending. f1hdlc isr.3 framer 1 hdlc controller interrupt request. 0 = no interrupt request pending. 1 = interrupt request pending. f1sr isr.2 framer 1 sr1 or sr2 interrupt request. 0 = no interrupt request pending. 1 = interrupt request pending. f0hdlc isr.1 framer 0 hdlc controller interrupt request. 0 = no interrupt request pending. 1 = interrupt request pending. f0sr isr.0 framer 0 sr1 or sr2 interrupt request. 0 = no interrupt request pending. 1 = interrupt request pending.
dallas semiconductor ds21ff42/DS21FT42 101899 /123 47
dallas semiconductor ds21ff42/DS21FT42 101899 /123 48 rir1: receive information register 1 (address=22 hex) (msb) (lsb) cofa 8zd 16zd resf rese sefe b8zs fbe symbol position name and description cofa rir1.7 change of frame alignment. set when the last resync resulted in a change of frame or multiframe alignment. 8zd rir1.6 eight zero detect. set when a string of at least eight consecutive zeros (regardless of the length of the string) have been received at rpos and rneg. 16zd rir1.5 sixteen zero detect. set when a string of at least sixteen consecutive zeros (regardless of the length of the string) have been received at rpos and rneg. resf rir1.4 receive elastic store full. set when the receive elastic store buffer fills and a frame is deleted. rese rir1.3 receive elastic store empty. set when the receive elastic store buffer empties and a frame is repeated. sefe rir1.2 severely errored framing event. set when 2 out of 6 framing bits (ft or fps) are received in error. b8zs rir1.1 b8zs code word detect. set when a b8zs code word is detected at rpos and rneg independent of whether the b8zs mode is selected or not via ccr2.6. useful for automatically setting the line coding. fbe rir1.0 frame bit error. set when a ft (d4) or fps (esf) framing bit is received in error. rir2: receive information register 2 (address=31 hex) (msb) (lsb) rlosc rclc tesf tese tslip rblc rpdv tpdv symbol position name and description rlosc rir2.7 receive loss of sync clear. set when the framer achieves synchronization; will remain set until read. rclc rir2.6 receive carrier loss clear. set when the carrier signal is restored; will remain set until read. see table 11-1. tesf rir2.5 transmit elastic store full. set when the transmit elastic store buffer fills and a frame is deleted. tese rir2.4 transmit elastic store empty. set when the transmit elastic store buffer empties and a frame is repeated. tslip rir2.3 transmit elastic store slip occurrence. set when the transmit elastic store has either repeated or deleted a frame. rblc rir2.2 receive blue alarm clear. set when the blue alarm (ais) is no longer detected; will remain set until read. see table 11-1.
dallas semiconductor ds21ff42/DS21FT42 101899 /123 49 rpdv rir2.1 receive pulse density violation. set when the receive data stream does not meet the ansi t1.403 requirements for pulse density. tpdv rir2.0 transmit pulse density violation. set when the transmit data stream does not meet the ansi t1.403 requirements for pulse density. rir3: receive information register 3 (address=10 hex) (msb) (lsb) ? ? ? lorc ? ? ? rais-ci symbol position name and description ? rir3.7 not assigned. could be any value when read. ? rir3.6 not assigned. could be any value when read. ? rir3.5 not assigned. could be any value when read. lorc rir3.4 loss of receive clock. set when the rclk pin has not transitioned for at least 2 us (3 us ??1 us). ? rir3.3 not assigned. could be any value when read. ? rir3.2 not assigned. could be any value when read. ? rir3.1 not assigned. could be any value when read. rais-ci rir3.0 receive ais-ci detect. set when the ais-ci pattern is detected. sr1: status register 1 (address=20 hex) (msb) (lsb) lup ldn lotc rslip rbl ryel rcl rlos symbol position name and description lup sr1.7 loop up code detected. set when the loop up code as defined in the rupcd register is being received. see section 20 for details. ldn sr1.6 loop down code detected. set when the loop down code as defined in the rdncd register is being received. see section 20 for details. lotc sr1.5 loss of transmit clock. set when the tclk pin has not transitioned for one channel time (or 5.2 us). will force the rlos/lotc pin high if enabled via ccr3.5. also will force transmit side formatter to switch to rclk if so enabled via tcr1.7. rslip sr1.4 receive elastic store slip occurrence. set when the receive elastic store has either repeated or deleted a frame. rbl sr1.3 receive blue alarm. set when an unframed all one?s code is received at rpos and rneg. ryel sr1.2 receive yellow alarm. set when a yellow alarm is received at rpos and rneg.
dallas semiconductor ds21ff42/DS21FT42 101899 /123 50 rcl sr1.1 receive carrier loss. set when a red alarm is received at rpos and rneg. rlos sr1.0 receive loss of sync. set when the device is not synchronized to the receive t1 stream.
dallas semiconductor ds21ff42/DS21FT42 101899 /123 51 alarm criteria table 11 - 1 alarm set criteria clear criteria blue alarm (ais) (see note 1 below) when over a 3 ms window, 5 or less zeros are received when over a 3 ms window, 6 or more zeros are received yellow alarm (rai) 1. d4 bit 2 mode(rcr2.2=0) 2. d4 12th f?bit mode (rcr2.2=1; this mode is also referred to as the ?japanese yellow alarm?) 3. esf mode when bit 2 of 256 consecutive channels is set to zero for at least 254 occurrences when the 12th framing bit is set to one for two consecutive occurrences when 16 consecutive patterns of 00ff appear in the fdl when bit 2 of 256 consecutive channels is set to zero for less than 254 occurrences when the 12th framing bit is set to zero for two consecutive occurrences when 14 or less patterns of 00ff hex out of 16 possible appear in the fdl red alarm (rcl) (this alarm is also referred to as loss of signal) when 192 consecutive zeros are received when 14 or more ones out of 112 possible bit positions are received starting with the first one received notes: 1. the definition of blue alarm (or alarm indication signal) is an unframed all ones signal. blue alarm detectors should be able to operate properly in the presence of a 10?3 error rate and they should not falsely trigger on a framed all ones signal. the blue alarm criteria in the ds21q42 has been set to achieve this performance. it is recommended that the rbl bit be qualified with the rlos bit. 2. ansi specifications use a different nomenclature than the ds21q42 does; the following terms are equivalent: rbl = ais rcl = los rlos = lof ryel = rai sr2: status register 2 (address=21 hex) (msb) (lsb) rmf tmf sec rfdl tfdl rmtch raf rsc symbol position name and description rmf sr2.7 receive multiframe. set on receive multiframe boundaries. tmf sr2.6 transmit multiframe. set on transmit multiframe boundaries.
dallas semiconductor ds21ff42/DS21FT42 101899 /123 52 sec sr2.5 one second timer. set on increments of one second based on rclk; will be set in increments of 999 ms, 999 ms, and 1002 ms every 3 seconds. rfdl sr2.4 receive fdl buffer full. set when the receive fdl buffer (rfdl) fills to capacity (8 bits). tfdl sr2.3 transmit fdl buffer empty. set when the transmit fdl buffer (tfdl) empties. rmtch sr2.2 receive fdl match occurrence. set when the rfdl matches either rmtch1 or rmtch2. raf sr2.1 receive fdl abort. set when eight consecutive one?s are received in the fdl. rsc sr2.0 receive signaling change. set when the ds21q42 detects a change of state in any of the robbed?bit signaling bits. imr1: interrupt mask register 1 (address=7f hex) (msb) (lsb) lup ldn lotc slip rbl ryel rcl rlos symbol position name and description lup imr1.7 loop up code detected. 0 = interrupt masked 1 = interrupt enabled ldn imr1.6 loop down code detected. 0 = interrupt masked 1 = interrupt enabled lotc imr1.5 loss of transmit clock. 0 = interrupt masked 1 = interrupt enabled slip imr1.4 elastic store slip occurrence. 0 = interrupt masked 1 = interrupt enabled rbl imr1.3 receive blue alarm. 0 = interrupt masked 1 = interrupt enabled rye imr1.2 receive yellow alarm. 0 = interrupt masked 1 = interrupt enabled rcl imr1.1 receive carrier loss. 0 = interrupt masked 1 = interrupt enabled rlos imr1.0 receive loss of sync. 0 = interrupt masked 1 = interrupt enabled
dallas semiconductor ds21ff42/DS21FT42 101899 /123 53 imr2: interrupt mask register 2 (address=6f hex) (msb) (lsb) rmf tmf sec rfdl tfdl rmtch raf rsc symbol position name and description rmf imr2.7 receive multiframe. 0 = interrupt masked 1 = interrupt enabled tmf imr2.6 transmit multiframe. 0 = interrupt masked 1 = interrupt enabled sec imr2.5 one second timer. 0 = interrupt masked 1 = interrupt enabled rfdl imr2.4 receive fdl buffer full. 0 = interrupt masked 1 = interrupt enabled tfdl imr2.3 transmit fdl buffer empty. 0 = interrupt masked 1 = interrupt enabled rmtch imr2.2 receive fdl match occurrence. 0 = interrupt masked 1 = interrupt enabled raf imr2.1 receive fdl abort. 0 = interrupt masked 1 = interrupt enabled rsc imr2.0 receive signaling change. 0 = interrupt masked 1 = interrupt enabled
dallas semiconductor ds21ff42/DS21FT42 101899 /123 54 12. error count registers there are a set of three counters in each framer that record bipolar violations, excessive zeros, errors in the crc6 code words, framing bit errors, and number of multiframes that the device is out of receive synchronization. each of these three counters are automatically updated on either one second boundaries (ccr3.2=0) or every 42 ms (ccr3.2=1) as determined by the timer in status register 2 (sr2.5). hence, these registers contain performance data from either the previous second or the previous 42 ms. the user can use the interrupt from the one second timer to determine when to read these registers. the user has a full second (or 42 ms) to read the counters before the data is lost. all three counters will saturate at their respective maximum counts and they will not rollover (note: only the line code violation count register has the potential to overflow but the bit error would have to exceed 10 -2 before this would occur). line code violation count register (lcvcr) line code violation count register 1 (lcvcr1) is the most significant word and lcvcr2 is the least significant word of a 16?bit counter that records code violations (cvs). cvs are defined as bipolar violations (bpvs) or excessive zeros. see table 12-1 for details of exactly what the lcvcrs count. if the b8zs mode is set for the receive side via ccr2.2, then b8zs code words are not counted. this counter is always enabled; it is not disabled during receive loss of synchronization (rlos=1) conditions. lcvcr1: line code violation count register 1 (address = 23 hex) lcvcr2: line code violation count register 2 (address = 24 hex) (msb) (lsb) lcv15 lcv14 lcv13 lcv12 lcv11 lcv10 lcv9 lcv8 lcvcr1 lcv7 lcv6 lcv5 lcv4 lcv3 lcv2 lcv1 lcv0 lcvcr2 symbol position name and description lcv15 lcvcr1.7 msb of the 16?bit code violation count lcv0 lcvcr2.0 lsb of the 16?bit code violation count line code violation counting arrangements table 12 - 1 count excessive zeros? (rcr1.7) b8zs enabled? (ccr2.2) what is counted in the lcvcrs no no bpvs yes no bpvs + 16 consecutive zeros
dallas semiconductor ds21ff42/DS21FT42 101899 /123 55 no yes bpvs (b8zs code words not counted) yes yes bpv?s + 8 consecutive zeros path code violation count register (pcvcr) when the receive side of a framer is set to operate in the esf framing mode (ccr2.3=1), pcvcr will automatically be set as a 12?bit counter that will record errors in the crc6 code words. when set to operate in the d4 framing mode (ccr2.3=0), pcvcr will automatically count errors in the ft framing bit position. via the rcr2.1 bit, a framer can be programmed to also report errors in the fs framing bit position. the pcvcr will be disabled during receive loss of synchronization (rlos=1) conditions. see table 12-2 for a detailed description of exactly what errors the pcvcr counts. pcvcr1: path violation count register 1 (address = 25 hex) pcvcr2: path violation count register 2 (address = 26 hex) (msb) (lsb) (note 1) (note 1) (note 1) (note 1) crc/ fb11 crc/ fb10 crc/ fb9 crc/ fb8 pcvcr1 crc/ fb7 crc/ fb6 crc/ fb5 crc/ fb4 crc/ fb3 crc/ fb2 crc/ fb1 crc/ fb0 pcvcr2 symbol position name and description crc/fb11 pcvcr1.3 msb of the 12?bit crc6 error or frame bit error count (note #2) crc/fb0 pcvcr2.0 lsb of the 12?bit crc6 error or frame bit error count (note #2) notes: 1. the upper nibble of the counter at address 25 is used by the multiframes out of sync count register 2. pcvcr counts either errors in crc code words (in the esf framing mode; ccr2.3=1) or errors in the framing bit position (in the d4 framing mode; ccr2.3=0). path code violation counting arrangements table 12 - 2 framing mode (ccr2.3) count fs errors? (rcr2.1) what is counted in the pcvcrs d4 no errors in the ft pattern d4 yes errors in both the ft & fs patterns esf don?t care errors in the crc6 code words
dallas semiconductor ds21ff42/DS21FT42 101899 /123 56 multiframes out of sync count register (moscr) normally the moscr is used to count the number of multiframes that the receive synchronizer is out of sync (rcr2.0=1). this number is useful in esf applications needing to measure the parameters loss of frame count (lofc) and esf error events as described in at&t publication tr54016. when the moscr is operated in this mode, it is not disabled during receive loss of synchronization (rlos=1) conditions. the moscr has alternate operating mode whereby it will count either errors in the ft framing pattern (in the d4 mode) or errors in the fps framing pattern (in the esf mode). when the moscr is operated in this mode, it is disabled during receive loss of synchronization (rlos = 1)conditions. see table 12-3 for a detailed description of what the moscr is capable of counting. moscr1: multiframes out of sync count register 1 (address = 25 hex) moscr2: multiframes out of sync count register 2 (address = 27 hex) (msb) (lsb) mos/ fb11 mos/ fb10 mos/ fb9 mos/ fb8 (note 1) (note 1) (note 1) (note 1) moscr1 mos/ fb7 mos/ fb6 mos/ fb5 mos/ fb4 mos/ fb3 mos/ fb2 mos/ fb1 mos/ fb0 moscr2 symbol position name and description mos/fb11 moscr1.7 msb of the 12?bit multiframes out of sync or f?bit error count (note #2) mos/fb0 moscr2.0 lsb of the 12?bit multiframes out of sync or f?bit error count (note #2) notes: 1. the lower nibble of the counter at address 25 is used by the path code violation count register 2. moscr counts either errors in framing bit position (rcr2.0=0) or the number of multiframes out of sync (rcr2.0=1) multiframes out of sync counting arrangements table 12 - 3 framing mode (ccr2.3) count mos or f?bit errors (rcr2.0) what is counted in the moscrs d4 mos number of multiframes out of sync d4 f?bit errors in the ft pattern
dallas semiconductor ds21ff42/DS21FT42 101899 /123 57 esf mos number of multiframes out of sync esf f?bit errors in the fps pattern
dallas semiconductor ds21ff42/DS21FT42 101899 /123 58 13. ds0 monitoring function each framer in the ds21q42 has the ability to monitor one ds0 64 kbps channel in the transmit direction and one ds0 channel in the receive direction at the same time. in the transmit direction the user will determine which channel is to be monitored by properly setting the tcm0 to tcm4 bits in the ccr5 register. in the receive direction, the rcm0 to rcm4 bits in the ccr6 register need to be properly set. the ds0 channel pointed to by the tcm0 to tcm4 bits will appear in the transmit ds0 monitor (tds0m) register and the ds0 channel pointed to by the rcm0 to rcm4 bits will appear in the receive ds0 (rds0m) register. the tcm4 to tcm0 and rcm4 to rcm0 bits should be programmed with the decimal decode of the appropriate t1 channel. channels 1 through 24 map to register values 0 through 23. for example, if ds0 channel 6 (timeslot 5) in the transmit direction and ds0 channel 15 (timeslot 14) in the receive direction needed to be monitored, then the following values would be programmed into ccr5 and ccr6: tcm4 = 0 rcm4 = 0 tcm3 = 0 rcm3 = 1 tcm2 = 1 rcm2 = 1 tcm1 = 0 rcm1 = 1 tcm0 = 1 rcm0 = 0 ccr5: common control register 5 (address=19 hex) [repeated here from section 10 for convenience] (msb) (lsb) tjc ? ? tcm4 tcm3 tcm2 tcm1 tcm0 symbol position name and description tjc ccr5.7 transmit japanese crc enable. see section 10 for details. ? ccr5.5 not assigned. must be set to zero when written. ? ccr5.5 not assigned. must be set to zero when written. tcm4 ccr5.4 transmit channel monitor bit 4. msb of a channel decode that determines which transmit ds0 channel data will appear in the tds0m register. tcm3 ccr5.3 transmit channel monitor bit 3. tcm2 ccr5.2 transmit channel monitor bit 2. tcm1 ccr5.1 transmit channel monitor bit 1. tcm0 ccr5.0 transmit channel monitor bit 0. lsb of the channel decode that determines which transmit ds0 channel data will appear in the tds0m register.
dallas semiconductor ds21ff42/DS21FT42 101899 /123 59
dallas semiconductor ds21ff42/DS21FT42 101899 /123 60 tds0m: transmit ds0 monitor register (address=1a hex) (msb) (lsb) b1 b2 b3 b4 b5 b6 b7 b8 symbol position name and description b1 tds0m.7 transmit ds0 channel bit 1. msb of the ds0 channel (first bit to be transmitted). b2 tds0m.6 transmit ds0 channel bit 2. b3 tds0m.5 transmit ds0 channel bit 3. b4 tds0m.4 transmit ds0 channel bit 4. b5 tds0m.3 transmit ds0 channel bit 5. b6 tds0m.2 transmit ds0 channel bit 6. b7 tds0m.1 transmit ds0 channel bit 7. b8 tds0m.0 transmit ds0 channel bit 8. lsb of the ds0 channel (last bit to be transmitted). ccr6: common control register 6 (address=1e hex) [repeated here from section 10 for convenience] (msb) (lsb) rjc resalgn tesalgn rcm4 rcm3 rcm2 rcm1 rcm0 symbol position name and description rjc ccr6.7 receive japanese crc6 enable. 0 = use ansi/at&t/itu crc6 calculation (normal operation) 1 = use japanese standard jt?g704 crc6 calculation resalgn ccr6.6 receive elastic store align. setting this bit from a zero to a one will force the receive elastic store?s write/read pointers to a minim separation of half a frame. if pointer separation is already greater than half a frame, setting this bit will have no effect. should be toggled after rsysclk has been applied and is stable. must be cleared and set again for a subsequent align. see section 17 for details. tesalgn ccr6.5 transmit elastic store align. setting this bit from a zero to a one will force the transmit elastic store?s write/read pointers to a minimum separation of half a frame. if pointer separation is already greater than half a frame, setting this bit will have no effect. should be toggled after tsysclk has been applied and is stable. must be cleared and set again for a subsequent align. see section 17 for details. rcm4 ccr6.4 receive channel monitor bit 4. msb of a channel decode that determines which receive channel data will appear in the rds0m register. see section 13 for details. rcm3 ccr6.3 receive channel monitor bit 3. rcm2 ccr6.2 receive channel monitor bit 2.
dallas semiconductor ds21ff42/DS21FT42 101899 /123 61 rcm1 ccr6.1 receive channel monitor bit 1. rcm0 ccr6.0 receive channel monitor bit 0 . lsb of the channel decode. rds0m: receive ds0 monitor register (address=1f hex) (msb) (lsb) b1 b2 b3 b4 b5 b6 b7 b8 symbol position name and description b1 rds0m.7 receive ds0 channel bit 1. msb of the ds0 channel (first bit to be received). b2 rds0m.6 receive ds0 channel bit 2. b3 rds0m.5 receive ds0 channel bit 3. b4 rds0m.4 receive ds0 channel bit 4. b5 rds0m.3 receive ds0 channel bit 5. b6 rds0m.2 receive ds0 channel bit 6. b7 rds0m.1 receive ds0 channel bit 7. b8 rds0m.0 receive ds0 channel bit 8. lsb of the ds0 channel (last bit to be received).
dallas semiconductor ds21ff42/DS21FT42 101899 /123 62 14. signaling operation each framer in the ds21q42 contains provisions for both processor based (i.e., software based) signaling bit access and for hardware based access. both the processor based access and the hardware based access can be used simultaneously if necessary. the processor based signaling is covered in section 14.1 and the hardware based signaling is covered in section 14.2. 14.1 processor based signaling the robbed?bit signaling bits embedded in the t1 stream can be extracted from the receive stream and inserted into the transmit stream by each framer. there is a set of 12 registers for the receive side (rs1 to rs12) and 12 registers on the transmit side (ts1 to ts12). the signaling registers are detailed below. the ccr1.5 bit is used to control the robbed signaling bits as they appear at rser. if ccr1.5 is set to zero, then the robbed signaling bits will appear at the rser pin in their proper position as they are received. if ccr1.5 is set to a one, then the robbed signaling bit positions will be forced to a one at rser. if hardware based signaling is being used, then ccr1.5 must be set to zero. rs1 to rs12: receive signaling registers (address=60 to 6b hex) (msb) (lsb) a(8) a(7) a(6) a(5) a(4) a(3) a(2) a(1) rs1 (60) a(16) a(15) a(14) a(13) a(12) a(11) a(10) a(9) rs2 (61) a(24) a(23) a(22) a(21) a(20) a(19) a(18) a(17) rs3 (62) b(8) b(7) b(6) b(5) b(4) b(3) b(2) b(1) rs4 (63) b(16) b(15) b(14) b(13) b(12) b(11) b(10) b(9) rs5 (64) b(24) b(23) b(22) b(21) b(20) b(19) b(18) b(17) rs6 (65) a/c(8) a/c(7) a/c(6) a/c(5) a/c(4) a/c(3) a/c(2) a/c(1) rs7 (66) a/c(16) a/c(15) a/c(14) a/c(13) a/c(12) a/c(11) a/c(10) a/c(9) rs8 (67) a/c(24) a/c(23) a/c(22) a/c(21) a/c(20) a/c(19) a/c(18) a/c(17) rs9 (68) b/d(8) b/d(7) b/d(6) b/d(5) b/d(4) b/d(3) b/d(2) b/d(1) rs10 (69) b/d(16) b/d(15) b/d(14) b/d(13) b/d(12) b/d(11) b/d(10) b/d(9) rs11 (6a) b/d(24) b/d(23) b/d(22) b/d(21) b/d(20) b/d(19) b/d(18) b/d(17) rs12 (6b) symbol position name and description d(24) rs12.7 signaling bit d in channel 24 a(1) rs1.0 signaling bit a in channel 1 each receive signaling register (rs1 to rs12) reports the incoming robbed bit signaling from eight ds0 channels. in the esf framing mode, there can be up to four signaling bits
dallas semiconductor ds21ff42/DS21FT42 101899 /123 63 per channel (a, b, c, and d). in the d4 framing mode, there are only two signaling bits per channel (a and b). in the d4 framing mode, the framer will replace the c and d signaling bit positions with the a and b signaling bits from the previous multiframe. hence, whether the framer is operated in either framing mode, the user needs only to retrieve the signaling bits every 3 ms. the bits in the receive signaling registers are updated on multiframe boundaries so the user can utilize the receive multiframe interrupt in the receive status register 2 (sr2.7) to know when to retrieve the signaling bits. the receive signaling registers are frozen and not updated during a loss of sync condition (sr1.0=1). they will contain the most recent signaling information before the ?oof? occurred. the signaling data reported in rs1 to rs12 is also available at the rsig and rser pins. a change in the signaling bits from one multiframe to the next will cause the rsc status bit (sr2.0) to be set. the user can enable the int* pin to toggle low upon detection of a change in signaling by setting the imr2.0 bit. once a signaling change has been detected, the user has at least 2.75 ms to read the data out of the rs1 to rs12 registers before the data will be lost. ts1 to ts12: transmit signaling registers (address=70 to 7b hex) (msb) (lsb) a(8) a(7) a(6) a(5) a(4) a(3) a(2) a(1) ts1 (70) a(16) a(15) a(14) a(13) a(12) a(11) a(10) a(9) ts2 (71) a(24) a(23) a(22) a(21) a(20) a(19) a(18) a(17) ts3 (72) b(8) b(7) b(6) b(5) b(4) b(3) b(2) b(1) ts4 (73) b(16) b(15) b(14) b(13) b(12) b(11) b(10) b(9) ts5 (74) b(24) b(23) b(22) b(21) b(20) b(19) b(18) b(17) ts7 (75) a/c(8) a/c(7) a/c(6) a/c(5) a/c(4) a/c(3) a/c(2) a/c(1) ts7 (76) a/c(16) a/c(15) a/c(14) a/c(13) a/c(12) a/c(11) a/c(10) a/c(9) ts8 (77) a/c(24) a/c(23) a/c(22) a/c(21) a/c(20) a/c(19) a/c(18) a/c(17) ts9 (78) b/d(8) b/d(7) b/d(6) b/d(5) b/d(4) b/d(3) b/d(2) b/d(1) ts10 (79) b/d(16) b/d(15) b/d(14) b/d(13) b/d(12) b/d(11) b/d(10) b/d(9) ts11 (7a) b/d(24) b/d(23) b/d(22) b/d(21) b/d(20) b/d(19) b/d(18) b/d(17) ts12 (7b) symbol position name and description d(24) ts12.7 signaling bit d in channel 24 a(1) ts1.0 signaling bit a in channel 1 each transmit signaling register (ts1 to ts12) contains the robbed bit signaling for eight ds0 channels that will be inserted into the outgoing stream if enabled to do so via
dallas semiconductor ds21ff42/DS21FT42 101899 /123 64 tcr1.4. in the esf framing mode, there can be up to four signaling bits per channel (a, b, c, and d). on multiframe boundaries, the framer will load the values present in the transmit signaling register into an outgoing signaling shift register that is internal to the device. the user can utilize the transmit multiframe interrupt in status register 2 (sr2.6) to know when to update the signaling bits. in the esf framing mode, the interrupt will come every 3 ms and the user has a full 3ms to update the tsrs. in the d4 framing mode, there are only two signaling bits per channel (a and b). however in the d4 framing mode, the framer uses the c and d bit positions as the a and b bit positions for the next multiframe. the framer will load the values in the tsrs into the outgoing shift register every other d4 multiframe. 14.2 hardware based signaling receive side in the receive side of the hardware based signaling, there are two operating modes for the signaling buffer; signaling extraction and signaling re?insertion. signaling extraction involves pulling the signaling bits from the receive data stream and buffering them over a four multiframe buffer and outputting them in a serial pcm fashion on a channel?by?channel basis at the rsig output. this mode is always enabled. in this mode, the receive elastic store may be enabled or disabled. if the receive elastic store is enabled, then the backplane clock (rsysclk) can be either 1.544 mhz or 2.048 mhz. in the esf framing mode, the abcd signaling bits are output on rsig in the lower nibble of each channel. the rsig data is updated once a multiframe (3 ms) unless a freeze is in effect. in the d4 framing mode, the ab signaling bits are output twice on rsig in the lower nibble of each channel. hence, bits 5 and 6 contain the same data as bits 7 and 8 respectively in each channel. the rsig data is updated once a multiframe (1.5 ms) unless a freeze is in effect. see the timing diagrams in section 24 for some examples. the other hardware based signaling operating mode called signaling re?insertion can be invoked by setting the rsre control bit high (ccr4.7=1). in this mode, the user will provide a multiframe sync at the rsync pin and the signaling data will be re?aligned at the rser output according to this applied multiframe boundary. in this mode, the elastic store must be enabled however the backplane clock can be either 1.544 mhz or 2.048 mhz. if the signaling re?insertion mode is enabled, the user can control which channels have signaling re?insertion performed on a channel?by?channel basis by setting the rpcsi control bit high (ccr4.6) and then programming the rchblk output pin to go high in the channels in which the signaling re?insertion should not occur. if the rpcsi bit is set low, then signaling re?insertion will occur in all channels when the signaling re?insertion mode is enabled (rsre=1). how to control the operation of the rchblk output pin is covered in section 16.
dallas semiconductor ds21ff42/DS21FT42 101899 /123 65 in both hardware based signaling operating modes, the user has the option to replace all of the extracted robbed?bit signaling bit positions with ones. this option is enabled via the rfsa1 control bit (ccr4.5) and it can be invoked on a per?channel basis by setting the rpcsi control bit (ccr4.6) high and then programming rchblk appropriately just like the per?channel signaling re?insertion operates. the signaling data in the four multiframe buffer will be frozen in a known good state upon either a loss of synchronization (oof event), carrier loss, or frame slip. this action meets the requirements of bellcore tr? tsy?000170 for signaling freezing. to allow this freeze action to occur, the rfe control bit (ccr4.4) should be set high. the user can force a freeze by setting the rff control bit (ccr4.3) high. the four multiframe buffer provides a three multiframe delay in the signaling bits provided at the rsig pin (and at the rser pin if rsre=1). when freezing is enabled (rfe=1), the signaling data will be held in the last known good state until the corrupting error condition subsides. when the error condition subsides, the signaling data will be held in the old state for at least an additional 9 ms (or 4.5 ms in d4 framing mode) before being allowed to be updated with new signaling data. transmit side via the thse control bit (ccr4.2), the framer can be set up to take the signaling data presented at the tsig pin and insert the signaling data into the pcm data stream that is being input at the tser pin. the user has the ability to control which channels are to have signaling data from the tsig pin inserted into them on a channel?by?channel basis by setting the tpcsi control bit (ccr4.1) high. when tpcsi is enabled, channels in which the tchblk output has been programmed to be set high in, will not have signaling data from the tsig pin inserted into them. the hardware signaling insertion capabilities of the framer are available whether the transmit side elastic store is enabled or disabled. if the elastic store is enabled, the backplane clock (tsysclk) can be either 1.544 mhz or 2.048 mhz.
dallas semiconductor ds21ff42/DS21FT42 101899 /123 66 15. per?channel code (idle) generation and loopback each framer in the ds21q42 can replace data on a channel?by?channel basis in both the transmit and receive directions. the transmit direction is from the backplane to the t1 line and is covered in section 15.1. the receive direction is from the t1 line to the backplane and is covered in section 15.2. 15.1 transmit side code generation in the transmit direction there are two methods by which channel data from the backplane can be overwritten with data generated by the framer. the first method which is covered in section 15.1.1 was a feature contained in the original ds21q41 while the second method which is covered in section 15.1.2 is a new feature of the ds21q42. 15.1.1 simple idle code insertion and per?channel loopback the first method involves using the transmit idle registers (tir1/2/3) to determine which of the 24 t1 channels should be overwritten with the code placed in the transmit idle definition register (tidr). this method allows the same 8?bit code to be placed into any of the 24 t1 channels. if this method is used, then the ccr4.0 control bit must be set to zero. each of the bit position in the transmit idle registers (tir1/tir2/tir3) represent a ds0 channel in the outgoing frame. when these bits are set to a one, the corresponding channel will transmit the idle code contained in the transmit idle definition register (tidr). robbed bit signaling and bit 7 stuffing will occur over the programmed idle code unless the ds0 channel is made transparent by the transmit transparency registers. the transmit idle registers (tirs) have an alternate function that allow them to define a per?channel loopback (pclb). if the tirfs control bit (ccr4.0) is set to one, then the tirs will determine which channels (if any) from the backplane should be replaced with the data from the receive side or in other words, off of the t1 line. if this mode is enabled, then transmit and receive clocks and frame syncs must be synchronized. one method to accomplish this would be to tie rclk to tclk and rfsync to tsync. tir1/tir2/tir3: transmit idle registers (address=3c to 3e hex) [also used for per?channel loopback] (msb) (lsb) ch8 ch7 ch6 ch5 ch4 ch3 ch2 ch1 tir1 (3c)
dallas semiconductor ds21ff42/DS21FT42 101899 /123 67 ch16 ch15 ch14 ch13 ch12 ch11 ch10 ch9 tir2 (3d) ch24 ch23 ch22 ch21 ch20 ch19 ch18 ch17 tir3 (3e) symbols positions name and description ch1 - 24 tir1.0 - 3.7 transmit idle code insertion control bits. 0 = do not insert the idle code in the tidr into this channel 1 = insert the idle code in the tidr into this channel note: if ccr4.0=1, then a zero in the tirs implies that channel data is to be sourced from tser and a one implies that channel data is to be sourced from the output of the receive side framer (i.e., per?channel loopback; see figure 6?1). tidr: transmit idle definition register (address=3f hex) (msb) (lsb) tidr7 tidr6 tidr5 tidr4 tidr3 tidr2 tidr1 tidr0 symbol position name and description tidr7 tidr.7 msb of the idle code (this bit is transmitted first) tidr0 tidr.0 lsb of the idle code (this bit is transmitted last) 15.1.2 per?channel code insertion the second method involves using the transmit channel control registers (tcc1/2/3) to determine which of the 24 t1 channels should be overwritten with the code placed in the transmit channel registers (tc1 to tc24). this method is more flexible than the first in that it allows a different 8?bit code to be placed into each of the 24 t1 channels. tc1 to tc24: transmit channel registers (address=40 to 4f and 50 to 57 hex) (for brevity, only channel one is shown; see table 8-1 for other register address) (msb) (lsb) c7 c6 c5 c4 c3 c2 c1 c0 tc1 (50) symbol position name and description
dallas semiconductor ds21ff42/DS21FT42 101899 /123 68 c7 tc1.7 msb of the code (this bit is transmitted first) c0 tc1.0 lsb of the code (this bit is transmitted last) tcc1/tcc2/tcc3: transmit channel control register (address=16 to 18 hex) (msb) (lsb) ch8 ch7 ch6 ch5 ch4 ch3 ch2 ch1 tcc1 (16) ch16 ch15 ch14 ch13 ch12 ch11 ch10 ch9 tcc2 (17) ch24 ch23 ch22 ch21 ch20 ch19 ch18 ch17 tcc3 (18) symbol position name and description ch1 - 24 tcc1.0 - 3.7 transmit code insertion control bits 0 = do not insert data from the tc register into the transmit data stream 1 = insert data from the tc register into the transmit data stream 15.2 receive side code generation in the receive direction there are also two methods by which channel data to the backplane can be overwritten with data generated by the framer. the first method which is covered in section 15.2.1 was a feature contained in the original ds21q41 while the second method which is covered in section 15.2.2 is a new feature of the ds21q42. 15.2.1 simple code insertion the first method on the receive side involves using the receive mark registers (rmr1/2/3) to determine which of the 24 t1 channels should be overwritten with either a 7fh idle code or with a digital milliwatt pattern. the rcr2.7 bit will determine which code is used. the digital milliwatt code is an eight byte repeating pattern that represents a 1 khz sine wave (1e/0b/0b/1e/9e/8b/8b/9e). each bit in the rmrs, represents a particular channel. if a bit is set to a one, then the receive data in that channel will be replaced with one of the two codes. if a bit is set to zero, no replacement occurs. rmr1/rmr2/rmr3: receive mark registers (address=2d to 2f hex) (msb) (lsb)
dallas semiconductor ds21ff42/DS21FT42 101899 /123 69 ch8 ch7 ch6 ch5 ch4 ch3 ch2 ch1 rmr1(2d) ch16 ch15 ch14 ch13 ch12 ch11 ch10 ch9 rmr2(2e) ch24 ch23 ch22 ch21 ch20 ch19 ch18 ch17 rmr3(2f) symbols positions name and description ch1 - 24 rmr1.0 - 3.7 receive channel mark control bits 0 =do not affect the receive data associated with this channel 1 = replace the receive data associated with this channel with either the idle code or the digital milliwatt code (depends on the rcr2.7 bit) 15.2.2 per?channel code insertion the second method involves using the receive channel control registers (rcc1/2/3) to determine which of the 24 t1 channels off of the t1 line and going to the backplane should be overwritten with the code placed in the receive channel registers (rc1 to rc24). this method is more flexible than the first in that it allows a different 8?bit code to be placed into each of the 24 t1 channels. rc1 to rc24: receive channel registers (address=58 to 5f and 80 to 8f hex) (for brevity, only channel one is shown; see table 8-1 for other register address) (msb) (lsb) c7 c6 c5 c4 c3 c2 c1 c0 rc1 (80) symbol position name and description c7 rc1.7 msb of the code (this bit is sent first to the backplane) c0 rc1.0 lsb of the code (this bit is sent last to the backplane) rcc1/rcc2/rcc3: receive channel control register (address=1b to 1d hex) (msb) (lsb) ch8 ch7 ch6 ch5 ch4 ch3 ch2 ch1 rcc1 (1b) ch16 ch15 ch14 ch13 ch12 ch11 ch10 ch9 rcc2 (1c) ch24 ch23 ch22 ch21 ch20 ch19 ch18 ch17 rcc3 (1d) symbol position name and description
dallas semiconductor ds21ff42/DS21FT42 101899 /123 70 ch1 - 24 rcc1.0 - 3.7 receive code insertion control bits 0 = do not insert data from the rc register into the receive data stream 1 = insert data from the rc register into the receive data stream
dallas semiconductor ds21ff42/DS21FT42 101899 /123 71 16. clock blocking registers the receive channel blocking registers (rcbr1/rcbr2/rcbr3) and the transmit channel blocking registers (tcbr1/tcbr2/tcbr3) control the rchblk and tchblk pins respectively. the rchblk and tchclk pins are user programmable outputs that can be forced either high or low during individual channels. these outputs can be used to block clocks to a usart or lapd controller in fractional t1 or isdn?pri applications. when the appropriate bits are set to a one, the rchblk and tchclk pins will be held high during the entire corresponding channel time. see the timing in section 24 for an example. rcbr1/rcbr2/rcbr3: receive channel blocking registers (address=6c to 6e hex) (msb) (lsb) ch8 ch7 ch6 ch5 ch4 ch3 ch2 ch1 rcbr1 (6c) ch16 ch15 ch14 ch13 ch12 ch11 ch10 ch9 rcbr2 (6d) ch24 ch23 ch22 ch21 ch20 ch19 ch18 ch17 rcbr3 (6e) symbols positions name and description ch1 - 24 rcbr1.0 - 3.7 receive channel blocking control bits. 0 = force the rchblk pin to remain low during this channel time 1 = force the rchblk pin high during this channel time tcbr1/tcbr2/tcbr3: transmit channel blocking registers (address=32 to 34 hex) (msb) (lsb) ch8 ch7 ch6 ch5 ch4 ch3 ch2 ch1 tcbr1 (32) ch16 ch15 ch14 ch13 ch12 ch11 ch10 ch9 tcbr2 (33) ch24 ch23 ch22 ch21 ch20 ch19 ch18 ch17 tcbr3 (34) symbols positions name and description ch1 - 24 tcbr1.0 - 3.7 transmit channel blocking control bits. 0 = force the tchblk pin to remain low during this channel time 1 = force the tchblk pin high during this channel time
dallas semiconductor ds21ff42/DS21FT42 101899 /123 72 17. elastic stores operation each framer in the ds21q42 contains dual two?frame (386 bits) elastic stores, one for the receive direction, and one for the transmit direction. these elastic stores have two main purposes. first, they can be used to rate convert the t1 data stream to 2.048 mbps (or a multiple of 2.048 mbps) which is the e1 rate. secondly, they can be used to absorb the differences in frequency and phase between the t1 data stream and an asynchronous (i.e., not frequency locked) backplane clock (which can be 1.544 mhz or 2.048 mhz). the backplane clock can burst at rates up to 8.192 mhz. both elastic stores contain full controlled slip capability which is necessary for this second purpose. both elastic stores within the framer are fully independent and no restrictions apply to the sourcing of the various clocks that are applied to them. the transmit side elastic store can be enabled whether the receive elastic store is enabled or disabled and vice versa. also, each elastic store can interface to either a 1.544 mhz or 2.048 mhz backplane without regard to the backplane rate the other elastic store is interfacing. two mechanisms are available to the user for resetting the elastic stores. the elastic store reset (tx - ccr7.4 & rx - ccr7.5) function forces the elastic stores to a depth of one frame unconditionally. data is lost during the reset. the second method, the elastic store align (tx - ccr6.5 & rx - ccr6.6) forces the elastic store depth to a minimum depth of half a frame only if the current pointer separation is already less then half a frame. if a realignment occurs data is lost. in both mechanisms, independent resets are provided for both the receive and transmit elastic stores. 17.1 receive side if the receive side elastic store is enabled (ccr1.2=1), then the user must provide either a 1.544 mhz (ccr1.3=0) or 2.048 mhz (ccr1.3=1) clock at the rsysclk pin. the user has the option of either providing a frame/multiframe sync at the rsync pin (rcr2.3=1) or having the rsync pin provide a pulse on frame boundaries (rcr2.3=0). if the user wishes to obtain pulses at the frame boundary, then rcr2.4 must be set to zero and if the user wishes to have pulses occur at the multiframe boundary, then rcr2.4 must be set to one. the framer will always indicate frame boundaries via the rfsync output whether the elastic store is enabled or not. if the elastic store is enabled, then multiframe boundaries will be indicated via the rmsync output. if the user selects to apply a 2.048 mhz clock to the rsysclk pin, then the data output at rser will be forced to all ones every fourth channel. hence channels 1 (except for the msb), 5, 9, 13, 17, 21, 25, and 29 (timeslots 0, 4, 8, 12, 16, 20, 24, and 28) will be forced to a one. the f?bit will be passed in the msb of channel 1. also, in 2.048 mhz applications, the rchblk output will be forced high during the same channels as the rser pin. see section 23 for more details. this is useful in t1 to cept (e1) conversion applications. if the 386?bit elastic buffer either fills or empties, a controlled slip will occur. if the buffer empties, then a full frame of data (193 bits) will be repeated at rser and the sr1.4 and rir1.3 bits will be set to a one. if the buffer
dallas semiconductor ds21ff42/DS21FT42 101899 /123 73 fills, then a full frame of data will be deleted and the sr1.4 and rir1.4 bits will be set to a one. 17.2 transmit side the operation of the transmit elastic store is very similar to the receive side. the transmit side elastic store is enabled via ccr1.7. a 1.544 mhz (ccr1.4=0) or 2.048 mhz (ccr1.4=1) clock can be applied to the tsysclk input. if the user selects to apply a 2.048 mhz clock to the tsysclk pin, then the data input at tser will be ignored every fourth channel. hence channels 1 (except for the msb), 5, 9, 13, 17, 21, 25, and 29 (timeslots 0, 4, 8, 12, 16, 20, 24, and 28) will be ignored. a special case exists for the msb of channel 1. via tcr1.6 the msb of channel 1 can be sampled as the f-bit. the user must supply a 8 khz frame sync pulse to the tssync input. also, in 2.048 mhz applications, the tchblk output will be forced high during the channels ignored by the framer. see section 23 for more details. controlled slips in the transmit elastic store are reported in the rir2.3 bit and the direction of the slip is reported in the rir2.5 and rir2.4 bits. 17.3 minimum delay synchronous rsysclk/tsysclk mode in applications where the framer is connected to backplanes that are frequency locked to the recovered t1 clock (i.e., the rclk output), the full two frame depth of the onboard elastic stores is really not needed. in fact, in some delay sensitive applications, the normal two frame depth may be excessive. register bits ccr3.7 and ccr3.0 control the rx and tx elastic stores depths. in this mode, rsysclk and tsysclk must be tied together and they must be frequency locked to rclk. all of the slip contention logic in the framer is disabled (since slips cannot occur). also, since the buffer depth is no longer two frames deep, the framer must be set up to source a frame pulse at the rsync pin and this output must be tied to the tssync input. on power?up after the rsysclk and tsysclk signals have locked to the rclk signal, the elastic stores should be reset.
dallas semiconductor ds21ff42/DS21FT42 101899 /123 74 18. hdlc controller the ds21q42 has an enhanced hdlc controller configurable for use with the facilities data link or ds0s. there are 64 byte buffers in both the transmit and receive paths. the user can select any ds0 or multiple ds0s as well as any specific bits within the ds0(s) to pass through the hdlc controller. see figure 24-15 for details on formatting the transmit side. note that tboc.6 = 1 and tdc1.7 = 1 cannot exist without corrupting the data in the fdl. for use with the fdl, see section 19.1. see table 18-1 for configuring the transmit hdlc controller. four new registers were added for the enhanced functionality of the hdlc controller; rdc1, rdc2, tdc1, and tdc2. note that the boc controller is functional when the hdlc controller is used for ds0s. section 19 contains all of the hdlc and boc registers and information on fdl/fs extraction and insertion with and without the hdlc controller. transmit hdlc configuration table 18 - 1 function tboc.6 tdc1.7 tcr1.2 ds0(s) 0 1 1 or 0 fdl 1 0 1 disable 0 0 1 or 0 18.1 hdlc for ds0s when using the hdlc controllers for ds0s, the same registers shown in section 19 will be used except for the tboc and rboc registers and bits hcr.7, hsr.7, and himr.7. as a basic guideline for interpreting and sending hdlc messages and boc messages, the following sequences can be applied. receive a hdlc message 1. enable rps interrupts 2. wait for interrupt to occur 3. disable rps interrupt and enable either rpe, rne, or rhalf interrupt 4. read rhir to obtain rempty status a. if rempty=0, then record obyte, cbyte, and pok bits and then read the fifo a1. if cbyte=0 then skip to step 5 a2. if cbyte=1 then skip to step 7 b. if rempty=1, then skip to step 6
dallas semiconductor ds21ff42/DS21FT42 101899 /123 75 5. repeat step 4 6. wait for interrupt, skip to step 4 7. if pok=0, then discard whole packet, if pok=1, accept the packet 8. disable rpe, rne, or rhalf interrupt, enable rps interrupt and return to step 1. transmit a hdlc message 1. make sure hdlc controller is done sending any previous messages and is current sending flags by checking that the fifo is empty by reading the tempty status bit in the thir register 2. enable either the thalf or tnf interrupt 3. read thir to obtain tfull status a. if tfull=0, then write a byte into the fifo and skip to next step (special case occurs when the last byte is to be written, in this case set teom=1 before writing the byte and then skip to step 6) b. if tfull=1, then skip to step 5 4. repeat step 3 5. wait for interrupt, skip to step 3 6. disable thalf or tnf interrupt and enable tmend interrupt 7. wait for an interrupt, then read tudr status bit to make sure packet was transmitted correctly. 19. fdl/fs extraction and insertion each framer/formatter has the ability to extract/insert data from/ into the facility data link (fdl) in the esf framing mode and from/into fs?bit position in the d4 framing mode. since slc?96 utilizes the fs?bit position, this capability can also be used in slc?96 applications. the ds21q42 contains a complete hdlc and boc controller for the fdl and this operation is covered in section 19.1. to allow for backward compatibility between the ds21q42 and earlier devices, the ds21q42 maintains some legacy functionality for the fdl and this is covered in section 19.2. section 19.3 covers d4 and slc?96 operation. please contact the factory for a copy of c language source code for implementing the fdl on the ds21q42. 19.1 hdlc and boc controller for the fdl 19.1.1 general overview the ds21q42 contains a complete hdlc controller with 64?byte buffers in both the transmit and receive directions as well as separate dedicated hardware for bit oriented codes (boc). the hdlc controller performs all the necessary overhead for generating and receiving performance report messages (prm) as described in ansi t1.403 and the
dallas semiconductor ds21ff42/DS21FT42 101899 /123 76 messages as described in at&t tr54016. the hdlc controller automatically generates and detects flags, generates and checks the crc check sum, generates and detects abort sequences, stuffs and destuffs zeros (for transparency), and byte aligns to the hdlc data stream. the 64?byte buffers in the hdlc controller are large enough to allow a full prm to be received or transmitted without host intervention. the boc controller will automatically detect incoming boc sequences and alert the host. when the boc ceases, the ds21q42 will also alert the host. the user can set the device up to send any of the possible 6?bit boc codes. there are thirteen registers that the host will use to operate and control the operation of the hdlc and boc controllers. a brief description of the registers is shown in table 19?1. hdlc/boc controller register list table 19 - 1 name function hdlc control register (hcr) general control over the hdlc and boc controllers hdlc status register (hsr) key status information for both transmit and receive directions hdlc interrupt mask register (himr) allows/stops status bits to/from causing an interrupt receive hdlc information register (rhir) status information on receive hdlc controller receive boc register (rboc) status information on receive boc controller receive hdlc fifo register (rhfr) access to 64?byte hdlc fifo in receive direction receive hdlc ds0 control register 1 (rdc1) receive hdlc ds0 control register 2 (rdc2) controls the hdlc function when used on ds0 channels transmit hdlc information register (thir) status information on transmit hdlc controller transmit boc register (tboc) enables/disables transmission of boc codes transmit hdlc fifo register (thfr) access to 64?byte hdlc fifo in transmit direction transmit hdlc ds0 control register 1 (tdc1) transmit hdlc ds0 control register 2 (tdc2) controls the hdlc function when used on ds0 channels 19.1.2 status register for the hdlc four of the hdlc/boc controller registers (hsr, rhir, rboc, and thir) provide status information. when a particular event has occurred (or is occurring), the appropriate bit in one of these four registers will be set to a one. some of the bits in these four hdlc status
dallas semiconductor ds21ff42/DS21FT42 101899 /123 77 registers are latched and some are real time bits that are not latched. section 19.1.4 contains register descriptions that list which bits are latched and which are not. with the latched bits, when an event occurs and a bit is set to a one, it will remain set until the user reads that bit. the bit will be cleared when it is read and it will not be set again until the event has occurred again. the real time bits report the current instantaneous conditions that are occurring and the history of these bits is not latched. like the other status registers in the ds21q42, the user will always proceed a read of any of the four registers with a write. the byte written to the register will inform the ds21q42 which of the latched bits the user wishes to read and have cleared (the real time bits are not affected by writing to the status register). the user will write a byte to one of these registers, with a one in the bit positions he or she wishes to read and a zero in the bit positions he or she does not wish to obtain the latest information on. when a one is written to a bit location, the read register will be updated with current value and it will be cleared. when a zero is written to a bit position, the read register will not be updated and the previous value will be held. a write to the status and information registers will be immediately followed by a read of the same register. the read result should be logically and?ed with the mask byte that was just written and this value should be written back into the same register to insure that bit does indeed clear. this second write step is necessary because the alarms and events in the status registers occur asynchronously in respect to their access via the parallel port. this write?read?write (for polled driven access) or write?read (for interrupt driven access) scheme allows an external microcontroller or microprocessor to individually poll certain bits without disturbing the other bits in the register. this operation is key in controlling the ds21q42 with higher?order software languages. like the sr1 and sr2 status registers, the hsr register has the unique ability to initiate a hardware interrupt via the int* output pin. each of the events in the hsr can be either masked or unmasked from the interrupt pin via the hdlc interrupt mask register (himr). interrupts will force the int* pin low when the event occurs. the int* pin will be allowed to return high (if no other interrupts are present) when the user reads the event bit that caused the interrupt to occur. basic operation details to allow the framer to properly source/receive data from/to the hdlc and boc controller the legacy fdl circuitry (which is described in section 19.2) should be disabled and the following bits should be programmed as shown: tcr1.2 = 1 (source fdl data from the hdlc and boc controller) tboc.6 = 1 (enable hdlc and boc controller) ccr2.5 = 0 (disable slc?96 and d4 fs?bit insertion) ccr2.4 = 0 (disable legacy fdl zero stuffer) ccr2.1 = 0 (disable slc?96 reception) ccr2.0 = 0 (disable legacy fdl zero stuffer) imr2.4 = 0 (disable legacy receive fdl buffer full interrupt) imr2.3 = 0 (disable legacy transmit fdl buffer empty interrupt)
dallas semiconductor ds21ff42/DS21FT42 101899 /123 78 imr2.2 = 0 (disable legacy fdl match interrupt) imr2.1 = 0 (disable legacy fdl abort interrupt). as a basic guideline for interpreting and sending both hdlc messages and boc messages, the following sequences can be applied: receive a hdlc message or a boc 1. enable rboc and rps interrupts 2. wait for interrupt to occur 3. if rboc=1, then follow steps 5 and 6 4. if rps=1, then follow steps 7 through 12 5. if lbd=1, a boc is present, then read the code from the rboc register and take action as needed 6. if bd=0, a boc has ceased, take action as needed and then return to step 1 7. disable rps interrupt and enable either rpe, rne, or rhalf interrupt 8. read rhir to obtain rempty status a. if rempty=0, then record obyte, cbyte, and pok bits and then read the fifo a1. if cbyte=0 then skip to step 9 a2. if cbyte=1 then skip to step 11 b. if rempty=1, then skip to step 10 9. repeat step 8 10. wait for interrupt, skip to step 8 11. if pok=0, then discard whole packet, if pok=1, accept the packet 12. disable rpe, rne, or rhalf interrupt, enable rps interrupt and return to step 1. transmit a hdlc message 1. make sure hdlc controller is done sending any previous messages and is current sending flags by checking that the fifo is empty by reading the tempty status bit in the thir register 2. enable either the thalf or tnf interrupt 3. read thir to obtain tfull status a. if tfull=0, then write a byte into the fifo and skip to next step (special case occurs when the last byte is to be written, in this case set teom=1 before writing the byte and then skip to step 6) b. if tfull=1, then skip to step 5 4. repeat step 3 5. wait for interrupt, skip to step 3 6. disable thalf or tnf interrupt and enable tmend interrupt 7. wait for an interrupt, then read tudr status bit to make sure packet was transmitted correctly. transmit a boc 1. write 6?bit code into tboc
dallas semiconductor ds21ff42/DS21FT42 101899 /123 79 2. set sboc bit in tboc=1 19.1.3 hdlc/boc register description hcr: hdlc control register (address = 00 hex) (msb) (lsb) rbr rhr tfs thr tabt teom tzsd tcrcd symbol position name and description rbr hcr.7 receive boc reset. a 0 to 1 transition will reset the boc circuitry. must be cleared and set again for a subsequent reset. rhr hcr.6 receive hdlc reset. a 0 to 1 transition will reset the hdlc controller. must be cleared and set again for a subsequent reset. tfs hcr.5 transmit flag/idle select. 0 = 7eh 1 = ffh thr hcr.4 transmit hdlc/boc reset. a 0 to 1 transition will reset both the hdlc controller and the transmit boc circuitry. must be cleared and set again for a subsequent reset. tabt hcr.3 transmit abort. a 0 to 1 transition will cause the fifo contents to be dumped and one feh abort to be sent followed by 7eh or ffh flags/idle until a new packet is initiated by writing new data into the fifo. must be cleared and set again for a subsequent abort to be sent. teom hcr.2 transmit end of message. should be set to a one just before the last data byte of a hdlc packet is written into the transmit fifo at thfr. the hdlc controller will clear this bit when the last byte has been transmitted. tzsd hcr.1 transmit zero stuffer defeat. overrides internal enable. 0 = enable the zero stuffer (normal operation) 1 = disable the zero stuffer tcrcd hcr.0 transmit crc defeat. 0 = enable crc generation (normal operation) 1 = disable crc generation hsr: hdlc status register (address = 01 hex) (msb) (lsb) rboc rpe rps rhalf rne thalf tnf tmend symbol position name and description
dallas semiconductor ds21ff42/DS21FT42 101899 /123 80 rboc hsr.7 receive boc detector change of state. set whenever the boc detector sees a change of state from a boc detected to a no valid code seen or vice versa. the setting of this bit prompt the user to read the rboc register for details. rpe hsr.6 receive packet end. set when the hdlc controller detects either the finish of a valid message (i.e., crc check complete) or when the controller has experienced a message fault such as a crc checking error, or an overrun condition, or an abort has been seen. the setting of this bit prompts the user to read the rhir register for details. rps hsr.5 receive packet start . set when the hdlc controller detects an opening byte. the setting of this bit prompts the user to read the rhir register for details. rhalf hsr.4 receive fifo half full. set when the receive 64?byte fifo fills beyond the half way point. the setting of this bit prompts the user to read the rhir register for details. rne hsr.3 receive fifo not empty. set when the receive 64?byte fifo has at least one byte available for a read. the setting of this bit prompts the user to read the rhir register for details. thalf hsr.2 transmit fifo half empty. set when the transmit 64?byte fifo empties beyond the half way point. the setting of this bit prompts the user to read the thir register for details. tnf hsr.1 transmit fifo not full. set when the transmit 64?byte fifo has at least one byte available. the setting of this bit prompts the user to read the thir register for details. tmend hsr.0 transmit message end. set when the transmit hdlc controller has finished sending a message. the setting of this bit prompts the user to read the thir register for details. note: the rboc, rpe, rps, and tmend bits are latched and will be cleared when read. himr: hdlc interrupt mask register (address = 02 hex) (msb) (lsb) rboc rpe rps rhalf rne thalf tnf tmend symbol position name and description rboc himr.7 receive boc detector change of state. 0 = interrupt masked 1 = interrupt enabled rpe himr.6 receive packet end. 0 = interrupt masked 1 = interrupt enabled rps himr.5 receive packet start. 0 = interrupt masked 1 = interrupt enabled
dallas semiconductor ds21ff42/DS21FT42 101899 /123 81 rhalf himr.4 receive fifo half full. 0 = interrupt masked 1 = interrupt enabled rne himr.3 receive fifo not empty. 0 = interrupt masked 1 = interrupt enabled thalf himr.2 transmit fifo half empty. 0 = interrupt masked 1 = interrupt enabled tnf himr.1 transmit fifo not full. 0 = interrupt masked 1 = interrupt enabled tmend himr.0 transmit message end. 0 = interrupt masked 1 = interrupt enabled rhir: receive hdlc information register (address = 03 hex) (msb) (lsb) rabt rcrce rovr rvm rempty pok cbyte obyte symbol position name and description rabt rhir.7 abort sequence detected. set whenever the hdlc controller sees 7 or more ones in a row. rcrce rhir.6 crc error. set when the crc checksum is in error. rovr rhir.5 overrun. set when the hdlc controller has attempted to write a byte into an already full receive fifo. rvm rhir.4 valid message. set when the hdlc controller has detected and checked a complete hdlc packet. rempty rhir.3 empty. a real?time bit that is set high when the receive fifo is empty. pok rhir.2 packet ok. set when the byte available for reading in the receive fifo at rhfr is the last byte of a valid message (and hence no abort was seen, no overrun occurred, and the crc was correct). cbyte rhir.1 closing byte. set when the byte available for reading in the receive fifo at rhfr is the last byte of a message (whether the message was valid or not). obyte rhir.0 opening byte. set when the byte available for reading in the receive fifo at rhfr is the first byte of a message. note : the rabt, rcrce, rovr, and rvm bits are latched and will be cleared when read. rboc: receive bit oriented code register (address = 04 hex)
dallas semiconductor ds21ff42/DS21FT42 101899 /123 82 (msb) (lsb) lbd bd boc5 boc4 boc3 boc2 boc1 boc0 symbol position name and description lbd rboc.7 latched boc detected. a latched version of the bd status bit (rboc.6). will be cleared when read. bd rboc.6 boc detected. a real?time bit that is set high when the boc detector is presently seeing a valid sequence and set low when no boc is currently being detected. boc5 rboc.5 boc bit 5. last bit received of the 6?bit code word. boc4 rboc.4 boc bit 4. boc3 rboc.3 boc bit 3. boc2 rboc.2 boc bit 2. boc1 rboc.1 boc bit 1. boc0 rboc.0 boc bit 0. first bit received of the 6?bit code word. note: 1. the lbd bit is latched and will be cleared when read. 2. the rboc0 to rboc5 bits display the last valid boc code verified; these bits will be set to all ones on reset. rhfr: receive hdlc fifo (address = 05 hex) (msb) (lsb) hdlc7 hdlc6 hdlc5 hdlc4 hdlc3 hdlc2 hdlc1 hdlc0 symbol position name and description hdlc7 rhfr.7 hdlc data bit 7 . msb of a hdlc packet data byte. hdlc6 rhfr.6 hdlc data bit 6. hdlc5 rhfr.5 hdlc data bit 5. hdlc4 rhfr.4 hdlc data bit 4. hdlc3 rhfr.3 hdlc data bit 3. hdlc2 rhfr.2 hdlc data bit 2. hdlc1 rhfr.1 hdlc data bit 1. hdlc0 rhfr.0 hdlc data bit 0. lsb of a hdlc packet data byte. thir: transmit hdlc information (address = 06 hex) (msb) (lsb) ? ? ? ? ? tempty tfull tudr
dallas semiconductor ds21ff42/DS21FT42 101899 /123 83 symbol position name and description ? thir.7 not assigned. could be any value when read. ? thir.6 not assigned. could be any value when read. ? thir.5 not assigned. could be any value when read. ? thir.4 not assigned. could be any value when read. ? thir.3 not assigned. could be any value when read. tempty thir.2 transmit fifo empty. a real?time bit that is set high when the fifo is empty. tfull thir.1 transmit fifo full. a real?time bit that is set high when the fifo is full. tudr thir.0 transmit fifo underrun. set when the transmit fifo unwantedly empties out and an abort is automatically sent. note: the tudr bit is latched and will be cleared when read. tboc: transmit bit oriented code (address = 07 hex) (msb) (lsb) sboc hben boc5 boc4 boc3 boc2 boc1 boc0 symbol position name and description sboc tboc.7 send boc. rising edge triggered. must be transitioned from a 0 to a 1 transmit the boc code placed in the boc0 to boc5 bits instead of data from the hdlc controller. hben tboc.6 transmit hdlc & boc controller enable. 0 = source fdl data from the tlink pin 1 = source fdl data from the onboard hdlc and boc controller boc5 tboc.5 boc bit 5. last bit transmitted of the 6?bit code word. boc4 tboc.4 boc bit 4. boc3 tboc.3 boc bit 3. boc2 tboc.2 boc bit 2. boc1 tboc.1 boc bit 1. boc0 tboc.0 boc bit 0. first bit transmitted of the 6?bit code word. thfr: transmit hdlc fifo (address = 08 hex) (msb) (lsb) hdlc7 hdlc6 hdlc5 hdlc4 hdlc3 hdlc2 hdlc1 hdlc0
dallas semiconductor ds21ff42/DS21FT42 101899 /123 84 symbol position name and description hdlc7 thfr.7 hdlc data bit 7. msb of a hdlc packet data byte. hdlc6 thfr.6 hdlc data bit 6. hdlc5 thfr.5 hdlc data bit 5. hdlc4 thfr.4 hdlc data bit 4. hdlc3 thfr.3 hdlc data bit 3. hdlc2 thfr.2 hdlc data bit 2. hdlc1 thfr.1 hdlc data bit 1. hdlc0 thfr.0 hdlc data bit 0. lsb of a hdlc packet data byte. rdc1: receive hdlc ds0 control register 1 (address = 90 hex) (msb) (lsb) rds0e - rds0m rd4 rd3 rd2 rd1 rd0 symbol position name and description rds0e rdc1.7 hdlc ds0 enable. 0 = use receive hdlc controller for the fdl. 1 = use receive hdlc controller for one or more ds0 channels. - rdc1.6 not assigned. should be set to 0. rds0m rdc1.5 ds0 selection mode. 0 = utilize the rd0 to rd4 bits to select which single ds0 channel to use. 1 = utilize the rchblk control registers to select which ds0 channels to use. rd4 rdc1.4 ds0 channel select bit 4. msb of the ds0 channel select. rd3 rdc1.3 ds0 channel select bit 3. rd2 rdc1.2 ds0 channel select bit 2. rd1 rdc1.1 ds0 channel select bit 1. rd0 rdc1.0 ds0 channel select bit 0. lsb of the ds0 channel select. rdc2: receive hdlc ds0 control register 2 (address = 91 hex) (msb) (lsb) rdb8 rdb7 rdb6 rdb5 rdb4 rdb3 rdb2 rdb1 symbol position name and description rdb8 rdc2.7 ds0 bit 8 suppress enable. msb of the ds0. set to one to stop this bit from being used. rdb7 rdc2.6 ds0 bit 7 suppress enable. set to one to stop this bit from being used. rdb6 rdc2.5 ds0 bit 6 suppress enable. set to one to stop this bit from being used.
dallas semiconductor ds21ff42/DS21FT42 101899 /123 85 rdb5 rdc2.4 ds0 bit 5 suppress enable. set to one to stop this bit from being used. rdb4 rdc2.3 ds0 bit 4 suppress enable. set to one to stop this bit from being used. rdb3 rdc2.2 ds0 bit 3 suppress enable. set to one to stop this bit from being used. rdb2 rdc2.1 ds0 bit 2 suppress enable. set to one to stop this bit from being used. rdb1 rdc2.0 ds0 bit 1 suppress enable. lsb of the ds0. set to one to stop this bit from being used. tdc1: transmit hdlc ds0 control register 1 (address = 92 hex) (msb) (lsb) tds0e - tds0m td4 td3 td2 td1 td0 symbol position name and description tds0e tdc1.7 hdlc ds0 enable. 0 = use transmit hdlc controller for the fdl. 1 = use transmit hdlc controller for one or more ds0 channels. - tdc1.6 not assigned. should be set to 0. tds0m tdc1.5 ds0 selection mode. 0 = utilize the td0 to td4 bits to select which single ds0 channel to use. 1 = utilize the tchblk control registers to select which ds0 channels to use. td4 tdc1.4 ds0 channel select bit 4. msb of the ds0 channel select. td3 tdc1.3 ds0 channel select bit 3. td2 tdc1.2 ds0 channel select bit 2. td1 tdc1.1 ds0 channel select bit 1. td0 tdc1.0 ds0 channel select bit 0. lsb of the ds0 channel select. tdc2: transmit hdlc ds0 control register 2 (address = 93 hex) (msb) (lsb) tdb8 tdb7 tdb6 tdb5 tdb4 tdb3 tdb2 tdb1 symbol position name and description tdb8 tdc2.7 ds0 bit 8 suppress enable. msb of the ds0. set to one to stop this bit from being used. tdb7 tdc2.6 ds0 bit 7 suppress enable. set to one to stop this bit from being used. tdb6 tdc2.5 ds0 bit 6 suppress enable. set to one to stop this bit from being used. tdb5 tdc2.4 ds0 bit 5 suppress enable. set to one to stop this bit from being used. tdb4 tdc2.3 ds0 bit 4 suppress enable. set to one to stop this bit from being used. tdb3 tdc2.2 ds0 bit 3 suppress enable. set to one to stop this bit from being used.
dallas semiconductor ds21ff42/DS21FT42 101899 /123 86 tdb2 tdc2.1 ds0 bit 2 suppress enable. set to one to stop this bit from being used. tdb1 tdc2.0 ds0 bit 1 suppress enable. lsb of the ds0. set to one to stop this bit from being used. 19.2 legacy fdl support 19.2.1 overview the ds21q42 maintains the circuitry that existed in the previous generation of dallas semiconductor?s single chip transceivers and quad framers. section 19.2 covers the circuitry and operation of this legacy functionality. in new applications, it is recommended that the hdlc controller and boc controller described in section 19.1 be used. on the receive side, it is possible to have both the new hdlc/boc controller and the legacy hardware working at the same time. however this is not possible on the transmit side since their can be only one source the of the fdl data internal to the device. 19.2.2 receive section in the receive section, the recovered fdl bits or fs bits are shifted bit?by?bit into the receive fdl register (rfdl). since the rfdl is 8 bits in length, it will fill up every 2 ms (8 times 250 us). the framer will signal an external microcontroller that the buffer has filled via the sr2.4 bit. if enabled via imr2.4, the int* pin will toggle low indicating that the buffer has filled and needs to be read. the user has 2 ms to read this data before it is lost. if the byte in the rfdl matches either of the bytes programmed into the rmtch1 or rmtch2 registers, then the sr2.2 bit will be set to a one and the int* pin will toggled low if enabled via imr2.2. this feature allows an external microcontroller to ignore the fdl or fs pattern until an important event occurs. the framer also contains a zero destuffer, which is controlled via the ccr2.0 bit. in both ansi t1.403 and tr54016, communications on the fdl follows a subset of a lapd protocol. the lapd protocol states that no more than 5 ones should be transmitted in a row so that the data does not resemble an opening or closing flag (01111110) or an abort signal (11111111). if enabled via ccr2.0, the ds21q42 will automatically look for 5 ones in a row, followed by a zero. if it finds such a pattern, it will automatically remove the zero. if the zero destuffer sees six or more ones in a row followed by a zero, the zero is not removed. the ccr2.0 bit should always be set to a one when the ds21q42 is extracting the fdl. more on how to use the ds21q42 in fdl applications in this legacy support mode is covered in a separate application note. rfdl: receive fdl register (address = 28 hex)
dallas semiconductor ds21ff42/DS21FT42 101899 /123 87 (msb) (lsb) rfdl7 rfdl6 rfdl5 rfdl4 rfdl3 rfdl2 rfdl1 rfdl0 symbol position name and description rfdl7 rfdl.7 msb of the received fdl code rfdl0 rfdl.0 lsb of the received fdl code the receive fdl register (rfdl) reports the incoming facility data link (fdl) or the incoming fs bits. the lsb is received first. rmtch1: receive fdl match register 1 (address = 29 hex) rmtch2: receive fdl match register 2 (address = 2a hex) (msb) (lsb) rmfdl7 rmfdl6 rmfdl5 rmfdl4 rmfdl3 rmfdl2 rmfdl1 rmfdl0 symbol position name and description rmfdl7 rmtch1.7 rmtch2.7 msb of the fdl match code rmfdl0 rmtch1.0 rmtch2.0 lsb of the fdl match code when the byte in the receive fdl register matches either of the two receive fdl match registers (rmtch1/rmtch2), sr2.2 will be set to a one and the int* will go active if enabled via imr2.2. 19.2.3 transmit section the transmit section will shift out into the t1 data stream, either the fdl (in the esf framing mode) or the fs bits (in the d4 framing mode) contained in the transmit fdl register (tfdl). when a new value is written to the tfdl, it will be multiplexed serially (lsb first) into the proper position in the outgoing t1 data stream. after the full eight bits has been shifted out, the framer will signal the host microcontroller that the buffer is empty and that more data is needed by setting the sr2.3 bit to a one. the int* will also toggle low if enabled via imr2.3. the user has 2 ms to update the tfdl with a new value. if the tfdl is not updated, the old value in the tfdl will be transmitted once again. the framer also contains a zero stuffer, which is controlled via the ccr2.4 bit. in both ansi t1.403 and tr54016, communications on the fdl follows a subset of a lapd protocol. the lapd protocol states that no more than 5 ones should be transmitted in a row so that the data does not resemble an opening or closing flag (01111110) or an abort signal (11111111). if enabled via ccr2.4, the framer will automatically look for 5 ones in a row. if it finds
dallas semiconductor ds21ff42/DS21FT42 101899 /123 88 such a pattern, it will automatically insert a zero after the five ones. the ccr2.0 bit should always be set to a one when the framer is inserting the fdl. more on how to use the ds21q42 in fdl applications is covered in a separate application note. tfdl: transmit fdl register (address = 7e hex) [also used to insert fs framing pattern in d4 framing mode; see section 19.3] (msb) (lsb) tfdl7 tfdl6 tfdl5 tfdl4 tfdl3 tfdl2 tfdl1 tfdl0 symbol position name and description tfdl7 tfdl.7 msb of the fdl code to be transmitted tfdl0 tfdl.0 lsb of the fdl code to be transmitted the transmit fdl register (tfdl) contains the facility data link (fdl) information that is to be inserted on a byte basis into the outgoing t1 data stream. the lsb is transmitted first. 19.3 d4/slc?96 operation in the d4 framing mode, the framer uses the tfdl register to insert the fs framing pattern. to allow the device to properly insert the fs framing pattern, the tfdl register at address 7eh must be programmed to 1ch and the following bits must be programmed as shown: tcr1.2=0 (source fs data from the tfdl register) ccr2.5=1 (allow the tfdl register to load on multiframe boundaries) since the slc?96 message fields share the fs?bit position, the user can access the these message fields via the tfdl and rfdl registers. please see the separate application note for a detailed description of how to implement a slc?96
dallas semiconductor ds21ff42/DS21FT42 101899 /123 89 20. programmable in?band code generation and detection each framer in the ds21q42 has the ability to generate and detect a repeating bit pattern that is from one to eight bits in length. to transmit a pattern, the user will load the pattern to be sent into the transmit code definition (tcd) register and select the proper length of the pattern by setting the tc0 and tc1 bits in the in?band code control (ibcc) register. once this is accomplished, the pattern will be transmitted as long as the tloop control bit (ccr3.1) is enabled. normally (unless the transmit formatter is programmed to not insert the f?bit position) the framer will overwrite the repeating pattern once every 193 bits to allow the f?bit position to be sent. see figure 24-15 for more details. as an example, if the user wished to transmit the standard ?loop up? code for channel service units which is a repeating pattern of ...10000100001... then 80h would be loaded into tdr and the length would set to 5 bits. each framer can detect two separate repeating patterns to allow for both a ?loop up? code and a ?loop down? code to be detected. the user will program the codes to be detected in the receive up code definition (rupcd) register and the receive down code definition (rdncd) register and the length of each pattern will be selected via the ibcc register. the framer will detect repeating pattern codes in both framed and unframed circumstances with bit error rates as high as 10**?2. the code detector has a nominal integration period of 48 ms. hence, after about 48 ms of receiving either code, the proper status bit (lup at sr1.7 and ldn at sr1.6) will be set to a one. normally codes are sent for a period of 5 seconds. it is recommend that the software poll the framer every 100 ms to 1000 ms until 5 seconds has elapsed to insure that the code is continuously present. ibcc: in?band code control register (address=12 hex) (msb) (lsb) tc1 tc0 rup2 rup1 rup0 rdn2 rdn1 rdn0 symbol position name and description tc1 ibcc.7 transmit code length definition bit 1. see table 20?1 tc0 ibcc.6 transmit code length definition bit 0. see table 20?1 rup2 ibcc.5 receive up code length definition bit 2. see table 20?2 rup1 ibcc.4 receive up code length definition bit 1. see table 20?2 rup0 ibcc.3 receive up code length definition bit 0. see table 20?2 rdn2 ibcc.2 receive down code length definition bit 2. see table 20?2 rdn1 ibcc.1 receive down code length definition bit 1. see table 20?2 rdn0 ibcc.0 receive down code length definition bit 0. see table 20?2
dallas semiconductor ds21ff42/DS21FT42 101899 /123 90 table 20 - 1 tc1 tc0 length selected 0 0 5 bits 0 1 6 bits / 3 bits 1 0 7 bits 1 1 8 bits / 4 bits / 2 bits / 1 bits receive code length table 20 - 2 rup2/ rdn2 rup1/ rdn1 rup0/ rdn0 length selected 0 0 0 1 bits 0 0 1 2 bits 0 1 0 3 bits 0 1 1 4 bits 1 0 0 5 bits 1 0 1 6 bits 1 1 0 7 bits 1 1 1 8 bits tcd: transmit code definition register (address=13 hex) (msb) (lsb) c7 c6 c5 c4 c3 c2 c1 c0 symbol position name and description c7 tcd.7 transmit code definition bit 7. first bit of the repeating pattern. c6 tcd.6 transmit code definition bit 6. c5 tcd.5 transmit code definition bit 5. c4 tcd.4 transmit code definition bit 4. c3 tcd.3 transmit code definition bit 3. c2 tcd.2 transmit code definition bit 2. a don?t care if a 5 bit length is selected. c1 tcd.1 transmit code definition bit 1. a don?t care if a 5 or 6 bit length is selected. c0 tcd.0 transmit code definition bit 0. a don?t care if a 5, 6 or 7 bit length is selected.
dallas semiconductor ds21ff42/DS21FT42 101899 /123 91 rupcd: receive up code definition register (address=14 hex) (msb) (lsb) c7 c6 c5 c4 c3 c2 c1 c0 symbol position name and description c7 rupcd.7 receive up code definition bit 7. first bit of the repeating pattern. c6 rupcd.6 receive up code definition bit 6. a don?t care if a 1 bit length is selected. c5 rupcd.5 receive up code definition bit 5. a don?t care if a 1 or 2 bit length is selected. c4 rupcd.4 receive up code definition bit 4. a don?t care if a 1 to 3 bit length is selected. c3 rupcd.3 receive up code definition bit 3. a don?t care if a 1 to 4 bit length is selected. c2 rupcd.2 receive up code definition bit 2. a don?t care if a 1 to 5 bit length is selected. c1 rupcd.1 receive up code definition bit 1. a don?t care if a 1 to 6 bit length is selected. c0 rupcd.0 receive up code definition bit 0. a don?t care if a 1 to 7 bit length is selected. rdncd: receive down code definition register (address=15 hex) (msb) (lsb) c7 c6 c5 c4 c3 c2 c1 c0 symbol position name and description c7 rdncd.7 receive down code definition bit 7. first bit of the repeating pattern. c6 rdncd.6 receive down code definition bit 6. a don?t care if a 1 bit length is selected. c5 rdncd.5 receive down code definition bit 5. a don?t care if a 1 or 2 bit length is selected. c4 rdncd.4 receive down code definition bit 4. a don?t care if a 1 to 3 bit length is selected. c3 rdncd.3 receive down code definition bit 3. a don?t care if a 1 to 4 bit length is selected. c2 rdncd.2 receive down code definition bit 2. a don?t care if a 1 to 5 bit length is selected.
dallas semiconductor ds21ff42/DS21FT42 101899 /123 92 c1 rdncd.1 receive down code definition bit 1. a don?t care if a 1 to 6 bit length is selected. c0 rdncd.0 receive down code definition bit 0. a don?t care if a 1 to 7 bit length is selected.
dallas semiconductor ds21ff42/DS21FT42 101899 /123 93 21. transmit transparency each of the 24 t1 channels in the transmit direction of the framer can be either forced to be transparent or in other words, can be forced to stop bit 7 stuffing and/or robbed signaling from overwriting the data in the channels. transparency can be invoked on a channel by channel basis by properly setting the ttr1, ttr2, and ttr3 registers. ttr1/ttr2/ttr3: transmit transparency register (address=39 to 3b hex) (msb) (lsb) ch8 ch7 ch6 ch5 ch4 ch3 ch2 ch1 ttr1 (39) ch16 ch15 ch14 ch13 ch12 ch11 ch10 ch9 ttr2 (3a) ch24 ch23 ch22 ch21 ch20 ch19 ch18 ch17 ttr3 (3b) symbols positions name and description ch1-24 ttr1.0-3.7 transmit transparency registers. 0 = this ds0 channel is not transparent 1 = this ds0 channel is transparent each of the bit position in the transmit transparency registers (ttr1/ttr2/ttr3) represent a ds0 channel in the outgoing frame. when these bits are set to a one, the corresponding channel is transparent (or clear). if a ds0 is programmed to be clear, no robbed bit signaling will be inserted nor will the channel have bit 7 stuffing performed. however, in the d4 framing mode, bit 2 will be overwritten by a zero when a yellow alarm is transmitted. also the user has the option to prevent the ttr registers from determining which channels are to have bit 7 stuffing performed. if the tcr2.0 and tcr1.3 bits are set to one, then all 24 t1 channels will have bit 7 stuffing performed on them regardless of how the ttr registers are programmed. in this manner, the ttr registers are only affecting which channels are to have robbed bit signaling inserted into them. please see figure 24-15 for more details.
dallas semiconductor ds21ff42/DS21FT42 101899 /123 94 22. interleaved pcm bus operation in many architectures, the outputs of individual framers are combined into higher speed serial buses to simplify transport across the system. the ds21q42 can be configured to allow each framer?s data and signaling busses to be multiplexed into higher speed data and signaling busses eliminating external hardware saving board space and cost. the interleaved pcm bus option supports two bus speeds and interleave modes. the 4.096 mhz bus speed allows two framers to share a common bus. the 8.192 mhz bus speed allows all four of the ds21q42?s framers to share a common bus. framers can interleave their data either on byte or frame boundaries. framers that share a common bus must be configured through software and require several device pins to be connected together externally (see figures 22-1 & 22-2). each framer?s elastic stores must be enabled and configured for 2.048 mhz operation. the signal rsync must be configured as an input on each framer. for all bus configurations, one framer will be configured as the master device and the remaining framers on the shared bus will be configured as slave devices. refer to the ibo register description below for more detail. in the 4.096 mhz bus configuration there is one master and one slave per bus. figure 22-1 shows the ds21q42 configured to support two 4.096 mhz buses. bus 1 consists of framers 0 and 1. bus 2 consists of framers 2 and 3. framers 0 and 2 are programmed as master devices. framers 1 and 3 are programmed as slave devices. in the 8.192 mhz bus configuration there is one master and three slaves. figure 22-2 shows the ds21q42 configured to support a 8.192 mhz bus. framers 0 is programmed as the master device. framers 1, 2 and 3 are programmed as slave devices. consult timing diagrams in section 24 for additional information. when using the frame interleave mode, all framers that share an interleaved bus must have receive signals (rpos & rneg) that are synchronous with each other. the received signals must originate from the same clock reference. this restriction does not apply in the byte interleave mode.
dallas semiconductor ds21ff42/DS21FT42 101899 /123 95 ibo: interleave bus operation register (address = 94 hex) (msb) (lsb) - - - - iboen intsel msel0 msel1 symbol position name and description - ibo.6 not assigned. should be set to 0. - ibo.6 not assigned. should be set to 0. - ibo.5 not assigned. should be set to 0. - ibo.4 not assigned. should be set to 0. iboen ibo.3 interleave bus operation enable 0 = interleave bus operation disabled. 1 = interleave bus operation enabled. intsel ibo.2 interleave type select 0 = byte interleave. 1 = frame interleave. msel0 ibo.1 master device bus select bit 0 see table 22-1. msel1 ibo.0 master device bus select bit 1 see table 22-1. master device bus select table 22 - 1 msel1 msel0 function 0 0 slave device. 0 1 master device with 1 slave device (4.096 mhz bus rate) 1 0 master device with 3 slave devices (8.192 mhz bus rate) 1 1 reserved
dallas semiconductor ds21ff42/DS21FT42 101899 /123 96 4.096 mhz interleaved bus external pin connection example figure 22 - 1 8.192 mhz interleaved bus external pin connection example figure 22 - 2 rsysclk0 tsysclk0 rser0 tser0 rsync0 tssync0 rsig0 tsig0 framer 0 rsysclk1 tsysclk1 rser1 tser1 rsync1 tssync1 rsig1 tsig1 framer 1 rsysclk2 tsysclk2 rser2 tser2 rsync2 tssync2 rsig2 tsig2 framer 2 rsysclk3 tsysclk3 rser3 tser3 rsync3 tssync3 rsig3 tsig3 framer 3 sysclk sync input rser tser rsig tsig rsysclk0 tsysclk0 rser0 tser0 rsync0 tssync0 rsig0 tsig0 framer 0 rsysclk1 tsysclk1 rser1 tser1 rsync1 tssync1 rsig1 tsig1 framer 1 sysclk sync input rser tser rsig tsig bus 1 bus 2 rsysclk2 tsysclk2 rser2 tser2 rsync2 tssync2 rsig2 tsig2 framer 2 rsysclk3 tsysclk3 rser3 tser3 rsync3 tssync3 rsig3 tsig3 framer 3 sysclk sync input rser tser rsig tsig
dallas semiconductor ds21ff42/DS21FT42 101899 /123 97 23. jtag-boundary scan architecture and test access port 23.1 description the ds21q42 ieee 1149.1 design supports the standard instruction codes sample/preload, bypass, and extest. optional public instructions included with this design are highz, clamp, and idcode. see figure 23-1 for a block diagram. the ds21q42 contains the following items, which meet the requirements, set by the ieee 1149.1 standard test access port and boundary scan architecture. the DS21FT42 should be considered as 3 individual ds21q42 devices. the ds21ff42 should be considered as 4 individual ds21q42 devices. test access port (tap) tap controller instruction register bypass register boundary scan register device identification register the jtag feature is only available when the ds21q42 feature set is selected (fms = 0). the jtag feature is disabled when the ds21q42 is configured for emulation of the ds21q41b (fms = 1). fms is tied to ground for the ds21ff42/DS21FT42. details on boundary scan architecture and the test access port can be found in ieee 1149.1-1990, ieee 1149.1a-1993, and ieee 1149.1b-1994. the test access port has the necessary interface pins; jtrst*, jtclk, jtms, jtdi, and jtdo. see the pin descriptions for details. boundary scan architecture figure 23 - 1
dallas semiconductor ds21ff42/DS21FT42 101899 /123 98 23.2 tap controller state machine this section covers the details on the operation of the test access port (tap) controller state machine. please see figure 23.2 for details on each of the states described below. tap controller the tap controller is a finite state machine that responds to the logic level at jtms on the rising edge of jtclk. test-logic-reset upon power up of the ds21q42, the tap controller will be in the test-logic-reset state. the instruction register will contain the idcode instruction. all system logic of the ds21q42 will operate normally. run-test-idle the run-test-idle is used between scan operations or during specific tests. the instruction register and test registers will remain idle. select-dr-scan all test registers retain their previous state. with jtms low, a rising edge of jtclk moves the controller into the capture-dr state and will initiate a scan sequence. jtms high during a rising edge on jtclk moves the controller to the select-ir capture-dr +v boundary scan register identification register bypass register instruction register jtdi jtms jtclk jtrst jtdo +v +v test access port controller mux 10k 10k 10k select output enable
dallas semiconductor ds21ff42/DS21FT42 101899 /123 99 data may be parallel-loaded into the test data registers selected by the current instruction. if the instruction does not call for a parallel load or the selected register does not allow parallel loads, the test register will remain at its current value. on the rising edge of jtclk, the controller will go to the shift-dr state if jtms is low or it will go to the exit1-dr state if jtms is high. shift-dr the test data register selected by the current instruction will be connected between jtdi and jtdo and will shift data one stage towards its serial output on each rising edge of jtclk. if a test register selected by the current instruction is not placed in the serial path, it will maintain its previous state. exit1-dr while in this state, a rising edge on jtclk with jtms high will put the controller in the update-dr state, and terminate the scanning process. a rising edge on jtclk with jtms low will put the controller in the pause-dr state. pause-dr shifting of the test registers is halted while in this state. all test registers selected by the current instruction will retain their previous state. the controller will remain in this state while jtms is low. a rising edge on jtclk with jtms high will put the controller in the exit2-dr state. exit2-dr while in this state, a rising edge on jtclk with jtms high will put the controller in the update-dr state and terminate the scanning process. a rising edge on jtclk with jtms low will enter the shift-dr state. update-dr a falling edge on jtclk while in the update-dr state will latch the data from the shift register path of the test registers into the data output latches. this prevents changes at the parallel output due to changes in the shift register. a rising edge on jtclk with jtms low, will put the controller in the run-test-idle state. with jtms high, the controller will enter the select-dr-scan state. select-ir-scan all test registers retain their previous state. the instruction register will remain unchanged during this state. with jtms low, a rising edge of jtclk moves the controller into the capture-ir state and will initiate a scan sequence for the instruction register. jtms high during a rising edge on jtclk puts the controller back into the test-logic-reset state. capture-ir the capture-ir state is used to load the shift register in the instruction register with a fixed value. this value is loaded on the rising edge of jtclk. if jtms is high on the rising edge of jtclk, the controller will enter the exit1-ir state. if jtms is low on the rising edge of jtclk, the controller will enter the shift-ir state. shift-ir
dallas semiconductor ds21ff42/DS21FT42 101899 /123 100 in this state, the shift register in the instruction register is connected between jtdi and jtdo and shifts data one stage for every rising edge of jtclk towards the serial output. the parallel registers, as well as all test registers remain at their previous states. a rising edge on jtclk with jtms high will move the controller to the exit1-ir state. a rising edge on jtclk with jtms low will keep the controller in the shift-ir state while moving data one stage thorough the instruction shift register. exit1-ir a rising edge on jtclk with jtms low will put the controller in the pause-ir state. if jtms is high on the rising edge of jtclk, the controller will enter the update-ir state and terminate the scanning process. pause-ir shifting of the instruction shift register is halted temporarily. with jtms high, a rising edge on jtclk will put the controller in the exit2-ir state. the controller will remain in the pause-ir state if jtms is low during a rising edge on jtclk. exit2-ir a rising edge on jtclk with jtms low will put the controller in the update-ir state. the controller will loop back to shift-ir if jtms is high during a rising edge of jtclk in this state. update-ir the instruction code shifted into the instruction shift register is latched into the parallel output on the falling edge of jtclk as the controller enters this state. once latched, this instruction becomes the current instruction. a rising edge on jtclk with jtms low, will put the controller in the run-test-idle state. with jtms high, the controller will enter the select-dr-scan state.
dallas semiconductor ds21ff42/DS21FT42 101899 /123 101 tap controller state machine figure 23 - 2 23.3 instruction register and instructions the instruction register contains a shift register as well as a latched parallel output and is 3 bits in length. when the tap controller enters the shift-ir state, the instruction shift register will be connected between jtdi and jtdo. while in the shift-ir state, a rising edge on jtclk with jtms low will shift the data one stage towards the serial output at jtdo. a rising edge on jtclk in the exit1-ir state or the exit2-ir state with jtms high will move the controller to the update-ir state the falling edge of that same jtclk will latch the data in the instruction shift register to the instruction parallel output. instructions supported by the ds21q42 with their respective operational binary codes are shown in table 23-1. 1 0 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 1 0 0 0 0 1 1 0 0 0 0 select dr-scan capture dr shift dr exit dr pause dr exit2 dr update dr select ir-scan capture ir shift ir exit ir pause ir exit2 ir update ir test logic reset run test/ idle 0
dallas semiconductor ds21ff42/DS21FT42 101899 /123 102
dallas semiconductor ds21ff42/DS21FT42 101899 /123 103 instruction codes for the ds21352/552 ieee 1149.1 architecture table 23 - 1 instruction selected register instruction codes sample/preload boundary scan 010 bypass bypass 111 extest boundary scan 000 clamp boundary scan 011 highz boundary scan 100 idcode device identification 001 sample/preload a mandatory instruction for the ieee 1149.1 specification. this instruction supports two functions. the digital i/os of the ds21q42 can be sampled at the boundary scan register without interfering with the normal operation of the device by using the capture-dr state. sample/preload also allows the ds21q42 to shift data into the boundary scan register via jtdi using the shift-dr state. extest extest allows testing of all interconnections to the ds21q42. when the extest instruction is latched in the instruction register, the following actions occur. once enabled via the update-ir state, the parallel outputs of all digital output pins will be driven. the boundary scan register will be connected between jtdi and jtdo. the capture-dr will sample all digital inputs into the boundary scan register. bypass when the bypass instruction is latched into the parallel instruction register, jtdi connects to jtdo through the one-bit bypass test register. this allows data to pass from jtdi to jtdo not affecting the device?s normal operation. idcode when the idcode instruction is latched into the parallel instruction register, the identification test register is selected. the device identification code will be loaded into the identification register on the rising edge of jtclk following entry into the capture-dr state. shift-dr can be used to shift the identification code out serially via jtdo. during test-logic-reset, the identification code is forced into the instruction register?s parallel output. the id code will always have a ?1? in the lsb position. the next 11 bits identify the manufacturer?s jedec number and number of continuation bytes followed by 16 bits for
dallas semiconductor ds21ff42/DS21FT42 101899 /123 104 the device and 4 bits for the version. see table 23-2. table 23-3 lists the device id codes for the ds21q42 and ds21q44 devices. id code structure table 23 - 2 msb lsb contents version (contact factory) device id (see table 23-3) jedec ?00010100001? ?1? length 4 bits 16bits 11bits 1bit device id codes table 23 - 3 device 16-bit number ds21q42 0000h ds21q44 0001h highz all digital outputs of the ds21q42 will be placed in a high impedance state. the bypass register will be connected between jtdi and jtdo. clamp all digital outputs of the ds21q42 will output data from the boundary scan parallel output while connecting the bypass register between jtdi and jtdo. the outputs will not change during the clamp instruction. 23.4 test registers ieee 1149.1 requires a minimum of two test registers; the bypass register and the boundary scan register. an optional test register has been included with the ds21q42 design. this test register is the identification register and is used in conjunction with the idcode instruction and the test-logic-reset state of the tap controller. boundary scan register
dallas semiconductor ds21ff42/DS21FT42 101899 /123 105 this register contains both a shift register path and a latched parallel output for all control cells and digital i/o cells and is 126 bits in length. table 23-4 shows all of the cell bit locations and definitions. bypass register this is a single one-bit shift register used in conjunction with the bypass, clamp, and highz instructions, which provides a short path between jtdi and jtdo. identification register the identification register contains a 32-bit shift register and a 32-bit latched parallel output. this register is selected during the idcode instruction and when the tap controller is in the test-logic-reset state. boundary scan register description table 23 - 4 mcm lead (die1) mcm lead (die2) mcm lead (die3) mcm lead (die4) scan register bit ds21q42 die symbol type control bit description b7 102 8mclk o g20 g20 g20 g20 60 a0 i h20 h20 h20 h20 59 a1 i g19 g19 g19 g19 58 a2 i h19 h19 h19 h19 57 a3 i g18 g18 g18 g18 56 a4 i h18 h18 h18 h18 55 a5 i g17 g17 g17 g17 54 a6/ale (as) i h17 h17 h17 h17 37 a7 i w15 w15 w15 w15 22 bts i - 94 bus.cntl - 0 = d0-d7 or ad0- ad7 are inputs 1 = d0-d7 or ad0- ad7 are outputs b6 100 clksi i t8 y4 y15 e19 23 cs* i l20 l20 l20 l20 93 d0 or ad0 i/o m20 m20 m20 m20 92 d1 or ad1 i/o l19 l19 l19 l19 91 d2 or ad2 i/o m19 m19 m19 m19 90 d3 or ad3 i/o l18 l18 l18 l18 89 d4 or ad4 i/o m18 m18 m18 m18 88 d5 or ad5 i/o l17 l17 l17 l17 87 d6 or ad6 i/o m17 m17 m17 m17 86 d7 or ad7 i/o y14 y14 y14 y14 25 fs0 i w14 w14 w14 w14 24 fs1 i
dallas semiconductor ds21ff42/DS21FT42 101899 /123 106 g16 g16 g16 g16 53 int* o v14 v14 v14 v14 - jtclk i e10 e10 e10 e10 - jtdi i a19 - jtdof o t17 jtdot o h16 h16 h16 h16 - jtms i k17 k17 k17 k17 - jtrst* i p17 p17 p17 p17 19 mux i c2 n1 y8 d16 72 rchblk0 o g3 y1 w12 k20 39 rchblk1 o e6 u6 v17 b18 5 rchblk2 o a8 n5 u17 b16 107 rchblk3 o a2 m3 t9 d14 76 rclk0 i k1 v1 w10 p20 43 rclk1 i d10 w6 y18 c18 9 rclk2 i b9 j3 n17 c12 111 rclk3 i e18 e18 e18 e18 21 rd*/(ds*) i b2 m2 u9 e14 75 rneg0 i h2 v3 w11 n20 42 rneg1 i d9 v7 w17 c20 8 rneg2 i a9 p3 t20 b13 110 rneg3 i a1 m1 t10 d15 74 rpos0 i h1 w2 v11 j18 41 rpos1 i h4 v5 y19 a20 7 rpos2 i c9 p4 r19 a14 109 rpos3 i c1 p1 u11 e16 68 rser0 o h3 w4 y12 f20 33 rser1 o c6 t7 v16 c16 1 rser2 o c8 n4 t16 a12 103 rser3 o d3 n2 u10 e15 73 rsig0 o g2 v4 y11 k19 40 rsig1 o d4 v6 w19 c17 6 rsig2 o d8 k5 u20 a15 108 rsig3 o b1 n3 t11 j17 69 rsync0 i/o - 70 rsync0.cntl - 0 = rsync0 an input 1 = rsync0 an output g1 y2 v13 j19 34 rsync1 i/o - 35 rsync1.cntl - 0 = rsync1 an input 1 = rsync1 an output d6 u5 v15 b17 2 rsync2 i/o - 3 rsync2.cntl - 0 = rsync2 an input 1 = rsync2 an output a7 j4 p18 b12 104 rsync3 i/o - 105 rsync3.cntl - 0 = rsync3 an input 1 = rsync3 an output b5 m4 t4 e13 71 *rsysclk0 i e2 t2 y9 n18 38 *rsysclk1 i
dallas semiconductor ds21ff42/DS21FT42 101899 /123 107 e5 y5 u12 e20 4 *rsysclk2 i b8 w3 r17 c14 106 *rsysclk3 i d1 r1 u13 k16 65 tclk0 i h5 y3 y13 f19 31 tclk1 i c5 t6 t18 e17 125 tclk2 i a5 k2 p16 c11 99 tclk3 i a13 a13 a13 a13 26 test i c3 l1 u14 d11 79 tneg0 o j1 v2 v12 k18 46 tneg1 o f5 v8 w18 c19 12 tneg2 o a10 p5 t19 b15 114 tneg3 o b3 l2 t14 e12 80 tpos0 o j2 w1 y10 n19 47 tpos1 o j5 w7 v18 b19 13 tpos2 o b10 r3 v20 b14 115 tpos3 o b4 l5 m16 d13 84 tser0 i e1 t1 w9 f17 51 tser1 i f3 y6 w16 d18 17 tser2 i d7 t3 w20 a18 119 tser3 i c4 l3 u15 e11 82 tsig0 i f1 u2 v10 p19 49 tsig1 i g4 v9 u18 b20 15 tsig2 i c10 r5 r18 a16 117 tsig3 i a3 l4 t15 c13 83 tssync0 i f2 u1 w8 r20 50 tssync1 i g5 y7 y17 d20 16 tssync2 i e8 r4 u19 a17 118 tssync3 i e3 r2 t13 j16 62 tsync0 i/o - 63 tsync0.cntl - 0 = tsync0 an input 1 = tsync0 an output f4 w5 w13 f18 28 tsync1 i/o - 29 tsync1.cntl - 0 = tsync1 an input 1 = tsync1 an output e7 t5 u16 c15 122 tsync2 i/o - 123 tsync2.cntl - 0 = tsync2 an input 1 = tsync2 an output a4 m5 n16 d12 96 tsync3 i/o - 97 tsync3.cntl - 0 = tsync3 an input 1 = tsync3 an output b5 m4 t4 e13 85 *tsysclk0 i e2 t2 y9 n18 52 *tsysclk1 i e5 y5 u12 e20 18 *tsysclk2 i b8 w3 r17 c14 120 *tsysclk3 i c7 k3 v19 d17 - vdd - e4 u7 t12 f16 - vdd - d2 p2 l16 b11 - vdd - e9 u3 u4 j20 - vss -
dallas semiconductor ds21ff42/DS21FT42 101899 /123 108 a6 k4 r16 a11 - vss - d5 u8 y20 d19 - vss - y16 y16 y16 y16 20 wr*/(r/w*) i * note: rsysclkn and tsysclkn are tied together.
dallas semiconductor ds21ff42/DS21FT42 101899 /123 109 24. timing diagrams receive side d4 timing figure 24 - 1 frame# 1 2 3 4 5 6 7 8 9 10 11 12 1 2 3 4 5 rsync / rfsync 1 rsync rsync 2 3 rlclk rlink 4 notes: 1. rsync in the frame mode (rcr2.4 = 0) and double-wide frame sync is not enabled (rcr2.5 = 0) 2. rsync in the frame mode (rcr2.4 = 0) and double-wide frame sync is enabled (rcr2.5 = 1) 3. rsync in the multiframe mode (rcr2.4 = 1) 4. rlink data (fs - bits) is updated one bit prior to even frames and held for two frames 5. rlink and rlclk are not synchronous with rsync when the receive side elastic store is enabled
dallas semiconductor ds21ff42/DS21FT42 101899 /123 110 receive side esf timing figure 24 - 2 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 frame# rsync / rfsync rsync 1 2 rsync 3 rlclk rlink 4 5 rlclk rlink 6 7 notes: 1. rsync in the frame mode (rcr2.4 = 0) and double-wide frame sync is not enabled (rcr2.5 = 0) 2. rsync in the frame mode (rcr2.4 = 0) and double-wide frame sync is enabled (rcr2.5 = 1) 3. rsync in the multiframe mode (rcr2.4 = 1) 4. zbtsi mode disabled (rcr2.6 = 0) 5. rlink data (fdl bits) is updated one bit time before odd frames and held for two frames 6. zbtsi mode is enabled (rcr2.6 = 1) 7. rlink data (z bits) is updated one bit time before odd frames and held for four frames 8. rlink and rlclk are not synchronous with rsync when the receive side elastic store is enabled
dallas semiconductor ds21ff42/DS21FT42 101899 /123 111 receive side boundary timing (with elastic store disabled) figure 24 - 3 rclk rchclk rfsync rchblk 2 notes: 1. there is a 13 rclk delay from rpos/rneg to rser. 2. rchblk is programmed to block channel 24. 3. shown is rlink/rlclk in the esf framing mode. rlclk rlink rser lsb msb f msb channel 23 channel 24 lsb channel 1 rsync rsig d/b channel 23 channel 24 d/b channel 1 c/a b a c/a b a a 3 rpos lsb msb msb channel 1 channel 2 lsb f lsb msb rneg 1
dallas semiconductor ds21ff42/DS21FT42 101899 /123 112 receive side 1.544 mhz boundary timing (with elastic store enabled) figure 24 - 4 rser lsb msb f msb channel 23 channel 24 lsb channel 1 rchclk rchblk rsysclk rsync 2 3 notes: 1. rsync is in the output mode (rcr2.3 = 0) 2. rsync is in the input mode (rcr2.3 = 1) 3. rchblk is programmed to block channel 24 rsync 1 rmsync rsig d/b channel 23 channel 24 d/b channel 1 c/a b a a b c/a a
dallas semiconductor ds21ff42/DS21FT42 101899 /123 113 receive side 2.048 mhz boundary timing (with elastic store enabled) figure 24 - 5 rser lsb msb lsb channel 1 rchclk rchblk rsysclk rsync channel 31 channel 32 1 3 4 notes: 1. rser data in channels 1, 5, 9, 13, 17, 21, 25, and 29 are forced to one 2. rsync is in the output mode (rcr2.3 = 0) 3. rsync is in the input mode (rcr2.3 = 1) 4. rchblk is forced to one in the same channels as rser (see note 1) 5. the f-bit position is passed through the receive side elastic store and occupies the msb position of channel 1. rsync 2 rmsync rsig d/b d/b channel 1 channel 31 channel 32 a b c/a a b c/a f 5
dallas semiconductor ds21ff42/DS21FT42 101899 /123 114 receive side interleaved bus operation byte mode timing figure 24 - 6 rser lsb sysclk rsync framer 3, channel 32 msb lsb framer 0, channel 1 rsig d/b d/b c/d b a c/a b framer 3, channel 32 a framer 0, channel 1 msb lsb framer 1, channel 1 d/b c/d b a framer 1, channel 1 notes: 1. 4.096 mhz bus configuration. 2. 8.192 mhz bus configuration. 3. rsync is in the input mode (rcr2.3 = 1). 3 rser rsync rsig fr1 ch32 fr0 ch1 fr1 ch1 fr0 ch2 fr1 ch2 rser rsig fr2 ch32 fr3 ch32 fr0 ch1 fr1 ch1 fr2 ch1 fr3 ch1 fr0 ch2 fr1 ch2 fr2 ch2 fr3 ch2 fr2 ch32 fr3 ch32 fr0 ch1 fr1 ch1 fr2 ch1 fr3 ch1 fr0 ch2 fr1 ch2 fr2 ch2 fr3 ch2 fr1 ch32 fr0 ch1 fr1 ch1 fr0 ch2 fr1 ch2 1 1 2 2 bit detail
dallas semiconductor ds21ff42/DS21FT42 101899 /123 115 receive side interleaved bus operation frame mode timing figure 24 - 7 rser lsb sysclk rsync framer 3, channel 32 msb lsb framer 0, channel 1 rsig d/b d/b c/d b a c/a b framer 3, channel 32 a framer 0, channel 1 msb lsb framer 0, channel 2 d/b c/d b a framer 0, channel 2 notes: 1. 4.096 mhz bus configuration. 2. 8.192 mhz bus configuration. 3. rsync is in the input mode (rcr2.3 = 1). 3 rser rsync rsig fr1 ch1-32 fr0 ch1-32 fr1 ch1-32 rser rsig fr2 ch1-32 fr3 ch1-32 fr0 ch1-32 fr1 ch1-32 fr2 ch1-32 fr3 ch1-32 fr0 ch1-32 fr1 ch1-32 fr2 ch1-32 fr3 ch1-32 fr2 ch1-32 fr3 ch1-32 fr0 ch1-32 fr1 ch1-32 fr2 ch1-32 fr3 ch1-32 fr0 ch1-32 fr1 ch1-32 fr2 ch1-32 fr3 ch1-32 fr0 ch1-32 fr1 ch1-32 fr1 ch1-32 fr0 ch1-32 fr1 ch1-32 fr0 ch1-32 fr1 ch1-32 1 1 2 2 bit detail
dallas semiconductor ds21ff42/DS21FT42 101899 /123 116 transmit side d4 timing figure 24 - 8 frame# 1 2 3 4 5 6 7 8 9 10 11 12 1 2 3 4 5 1 2 3 4 tsync tsync tsync tlclk tlink notes: 1. tsync in the frame mode (tcr2.3 = 0) and double-wide frame sync is not enabled (tcr2.4 = 0) 2. tsync in the frame mode (tcr2.3 = 0) and double-wide frame sync is enabled (tcr2.4 = 1) 3. tsync in the multiframe mode (tcr2.3 = 1) 4. tlink data (fs - bits) is sampled during the f-bit position of even frames for insertion into the outgoing t1 stream when enabled via tcr1.2 5. tlink and tlclk are not synchronous with tfsync transmit side d4 timing figure 15.6
dallas semiconductor ds21ff42/DS21FT42 101899 /123 117 transmit side esf timing figure 24 - 9 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 frame# 1 2 3 4 6 7 tsync tsync tsync tlclk tlink tlclk tlink notes: 1. tsync in the frame mode (tcr2.3 = 0) and double-wide frame sync is not enabled (tcr2.4 = 0) 2. tsync in the frame mode (tcr2.3 = 0) and double-wide frame sync is enabled (tcr2.4 = 1) 3. tsync in the multiframe mode (tcr2.3 = 1) 4. zbtsi mode disabled (tcr2.5 = 0) 5. tlink data (fdl bits) is sampled during the f-bit time of odd frame and inserted into the outgoing t1 stream if enabled via tcr1.2 6. zbtsi mode is enabled (tcr2.5 = 1) 7. tlink data (z bits) is sampled during the f-bit time of frames 1, 5, 9, 13, 17, and 21 and inserted into the outgoing stream if enabled via tcr1.2 8. tlink and tlclk are not synchronous with tfsync transmit side esf timing figure 15.7
dallas semiconductor ds21ff42/DS21FT42 101899 /123 118 transmit side boundary timing (with elastic store disabled) figure 24 - 10 tclk tneg lsb msb f msb lsb tchclk tsync tchblk notes: 1. there is a 10 tclk delay from tser to tpos/tneg. 2. tsync is in the output mode (tcr2.2 = 1) 3. tsync is in the input mode (tcr2.2 = 0) 4. tchblk is programmed to block channel 2 5. shown is tlink/tlclk in the esf framing mode tlclk tlink lsb channel 1 tsync don't care 3 tsig channel 1 channel 2 a b c/a d/b a b c/a d/b 2 5 4 tser lsb msb f msb channel 1 lsb lsb msb channel 2 tpos channel 24 1
dallas semiconductor ds21ff42/DS21FT42 101899 /123 119 transmit side 1.544 mhz boundary timing (with elastic store enabled) figure 24 - 11 tser lsb msb f msb channel 23 channel 24 lsb channel 1 tchclk tchblk tsysclk tssync 1 notes: 1. tchblk is programmed to block channel 24 (if the tpcsi bit is set, then the signaling data at tsig will be ignored during channel 24). tsig a channel 23 channel 24 d/b channel 1 c/a b a a b c/a d/b
dallas semiconductor ds21ff42/DS21FT42 101899 /123 120 transmit side 2.048 mhz boundary timing (with elastic store enabled) figure 24 - 12 tser lsb msb lsb channel 1 tchclk tchblk tsysclk tssync channel 31 channel 32 1 notes: 1. tser data in channels 1, 5, 9, 13, 17, 21, 25, and 29 is ignored 2. tchblk is programmed to block channel 31 (if the tpcsi bit is set, then the signaling data at tsig will be ignored). 3. tchblk is forced to one in the same channels as tser is ignored (see note 1) 4. the f-bit position (msb position of channel 1) for the t1 frame is sampled and passed through the transmit side elastic store (normally the transmit side formatter overwrites the f-bit position unless the formatter is programmed to pass-through the f-bit position) tsig d/b d/b channel 1 channel 31 channel 32 c/d b a c/a b a 2,3 f 4
dallas semiconductor ds21ff42/DS21FT42 101899 /123 121 transmit side interleaved bus operation byte mode timing figure 24 - 13 tser lsb sysclk tssync framer 3, channel 32 msb lsb framer 0, channel 1 tsig d/b d/b c/d b a c/a b framer 3, channel 32 a framer 0, channel 1 msb lsb framer 1, channel 1 d/b c/d b a framer 1, channel 1 notes: 1. 4.096 mhz bus configuration. 2. 8.192 mhz bus configuration. tser tssync tsig tser tsig fr2 ch32 fr3 ch32 fr0 ch1 fr1 ch1 fr2 ch1 fr3 ch1 fr0 ch2 fr1 ch2 fr2 ch2 fr3 ch2 fr2 ch32 fr3 ch32 fr0 ch1 fr1 ch1 fr2 ch1 fr3 ch1 fr0 ch2 fr1 ch2 fr2 ch2 fr3 ch2 1 1 2 2 bit detail fr1 ch32 fr0 ch1 fr1 ch1 fr0 ch2 fr1 ch2 fr1 ch32 fr0 ch1 fr1 ch1 fr0 ch2 fr1 ch2
dallas semiconductor ds21ff42/DS21FT42 101899 /123 122 transmit side interleaved bus operation frame mode timing figure 24 - 14 tser lsb sysclk tssync framer 3, channel 32 msb lsb framer 0, channel 1 tsig d/b d/b c/d b a c/a b framer 3, channel 32 a framer 0, channel 1 msb lsb framer 0, channel 2 d/b c/d b a framer 0, channel 2 notes: 1. 4.096 mhz bus configuration. 2. 8.192 mhz bus configuration. tser tssync tsig fr1 ch1-32 fr0 ch1-32 fr1 ch1-32 tser tsig fr2 ch1-32 fr3 ch1-32 fr0 ch1-32 fr1 ch1-32 fr2 ch1-32 fr3 ch1-32 fr0 ch1-32 fr1 ch1-32 fr2 ch1-32 fr3 ch1-32 fr2 ch1-32 fr3 ch1-32 fr0 ch1-32 fr1 ch1-32 fr2 ch1-32 fr3 ch1-32 fr0 ch1-32 fr1 ch1-32 fr2 ch1-32 fr3 ch1-32 fr0 ch1-32 fr1 ch1-32 fr1 ch1-32 fr0 ch1-32 fr1 ch1-32 fr0 ch1-32 fr1 ch1-32 1 1 2 2 bit detail
dallas semiconductor ds21ff42/DS21FT42 101899 /123 123 ds21q42 transmit data flow figure 24 - 15 idle code / per channel lb tir1 to tir3 software signaling insertion ts1 to ts12 bit 7 stuffing one's density monitor f-bit mux crc mux ami or b8zs converter / blue alarm gen. software signaling enable (tcr1.4) tpos tneg transmit blue (tcr1.1) b8zs enable (ccr2.6) tfdl select (tcr1.2) tfdl tlink crc calculation pulse density enforcer enable (ccr3.3) pulse density violation (rir2.0) frame mode select (ccr2.7) d4 yellow alarm select (tcr2.1) transmit yellow (tcr1.0) ttr1 to ttr3 bit 7 zero suppression enable (tcr2.0) global bit 7 stuffing (tcr1.3) f-bit pass through (tcr1.6) frame mode select (ccr2.7) crc pass through (tcr1.5) frame mode select (ccr2.7) = register = device pin = selector key: d4 bit 2 yellow alarm insertion d4 12th fs bit yellow alarm gen. frame mode select (ccr2.7) d4 yellow alarm select (tcr2.1) transmit yellow (tcr1.0) esf yellow alarm gen. (00ff hex in the fdl) frame mode select (ccr2.7) transmit yellow (tcr1.0) 1 0 1 0 1 0 0 1 1 0 ds2152 transmit data flow figure 15.11 fps or ft bit insertion 1 0 fdl hdlc & boc controller hdlc/boc enable (tboc.6) tir function select (ccr4.0) tidr 1 0 rser in-band loop code generator per-channel code generation 1 0 ibcc tcd tcc1 to tcc3 tc1 to tc24 ccr3.1 (note#1) notes: 1. tclk should be tied to rclk and tsync should be tied to rfsync for data to be properly sourced from rser. 1 0 tcd2 ds0 insertion enable (tdc1.7) 1 0 tdc1.5 tcd1 4:0 tchblk ds0 monitor fdl mux 1 0 0 source mux hdlc engine tser & tdata tsig hardware signaling insertion 0 1 tcbr1/2/3 ccr4.1 ccr4.2
dallas semiconductor ds21ff42/DS21FT42 101899 /123 124 25. operating parameters absolute maximum ratings* voltage on any non-supply pin relative to ground ?1.0v to +5.5v supply voltage -0.3v to +3.63v operating temperature for ds21q42t 0 c to 70 c operating temperature for ds21q42tn ?40 c to +85 c storage temperature ?55 c to +125 c soldering temperature 260oc for 10 seconds * this is a stress rating only and functional operation of the device at these or any other conditions above those indicated in the operation sections of this specification is not implied. exposure to absolute maximum rating conditions for extended periods of time may affect reliability. recommended dc operating conditions (0 c to 70 c for ds21ff42/DS21FT42); -40 c to +85 c for ds21ff42n/DS21FT42n) parameter symbo l min typ max units notes logic 1 v ih 2.0 5.5 v logic 0 v il ?0.3 +0.8 v supply v dd 2.97 3.63 v capacitance (t a =25 c) parameter symbo l min typ max units notes input capacitance c in 5 pf output capacitance c out 7 pf dc characteristics (0 c to 70 c; v dd = 2.97 to 3.63v for ds21ff42/DS21FT42; -40 c to +85 c; v dd = 2.97 to 3.63v for ds21ff42n/DS21FT42n) parameter symbo l min typ max units notes supply current @ 3.3v i dd 75 ma 1
dallas semiconductor ds21ff42/DS21FT42 101899 /123 125 input leakage i il ?1.0 +1.0 a 2 output leakage i lo 1.0 a 3 output current (2.4v) i oh ?1.0 ma output current (0.4v) i ol +4.0 ma notes: 1. tclk=rclk=tsysclk=rsysclk=1.544 mhz; outputs open circuited. 2. 0.0v < v in < v dd . 3. applied to int* when 3?stated. ac characteristics ? multiplexed parallel port (mux=1) (0oc to 70 o c; v dd = 2.97 to 3.63v for ds21ff42/DS21FT42 ?40 o c to +85 o c; v dd = 2.97 to 3.63v for ds21ff42n/DS21FT42n) parameter symbo l min typ max units notes cycle time t cyc 200 ns pulse width, ds low or rd* high pw el 100 ns pulse width, ds high or rd* low pw eh 100 ns input rise/fall times t r , t f 20 ns r/w* hold time t rwh 10 ns r/w* set up time before ds high t rws 50 ns cs*, fso or fs1 set up time before ds, wr* or rd* active t cs 20 ns cs*, fso or fs1 hold time t ch 0 ns read data hold time t dhr 10 50 ns write data hold time t dhw 0 ns muxed address valid to as or ale fall t asl 15 ns muxed address hold time t ahl 10 ns delay time ds, wr* or rd* to as or ale rise t asd 20 ns
dallas semiconductor ds21ff42/DS21FT42 101899 /123 126 pulse width as or ale high pw ash 30 ns delay time, as or ale to ds, wr* or rd* t ased 10 ns output data delay time from ds or rd* t ddr 20 80 ns data set up time t dsw 50 ns (see figures 25-1 to 25-3 for details)
dallas semiconductor ds21ff42/DS21FT42 101899 /123 127 ac characteristics ? non?multiplexed parallel port (mux=0 ) (0 o c to 70 o c; v dd = 2.97 to 3.63v for ds21ff42/DS21FT42; ?40 o c to +85 o c; v dd = 2.97 to 3.63v for ds21ff42n/DS21FT42n) parameter symbo l min typ max units notes set up time for a0 to a7, fs0 or fs1 valid to cs* active t 1 0 ns set up time for cs* active to either rd*, wr*, or ds* active t 2 0 ns delay time from either rd* or ds* active to data valid t 3 75 ns hold time from either rd*, wr*, or ds* inactive to cs* inactive t 4 0 ns hold time from cs* inactive to data bus 3? state t 5 5 20 ns wait time from either wr* or ds* active to latch data t 6 75 ns data set up time to either wr* or ds* inactive t 7 10 ns data hold time from either wr* or ds* inactive t 8 10 ns address hold from either wr* or ds* inactive t 9 10 ns see figures 25?4 to 25?7 for details.
dallas semiconductor ds21ff42/DS21FT42 101899 /123 128 ac characteristics ? receive side (0 o c to 70 o c; v dd = 2.97 to 3.63v for ds21ff42/DS21FT42; ?40 o c to +85 o c; v dd = 2.97 to 3.63v for ds21ff42n/DS21FT42n) parameter symbo l min typ max units notes rclk period t cp 648 ns rclk pulse width t ch t cl 75 75 ns ns rsysclk period t sp t sp 122 122 648 488 ns ns 1 2 rsysclk pulse width t sh t sl 50 50 ns ns rsync set up to rsysclk falling t su 20 t sh ?5 ns rsync pulse width t pw 50 ns rpos/rneg set up to rclk falling t su 20 ns rpos/rneg hold from rclk falling t hd 20 ns rsysclk/rclk rise and fall times t r , t f 25 ns delay rclk to rser, rsig, rlink valid t d1 50 ns delay rclk to rchclk, rsync, rchblk, rfsync, rlclk t d2 50 ns delay rsysclk to rser, rsig valid t d3 50 ns delay rsysclk to rchclk, rchblk, rmsync, rsync t d4 50 ns see figures 25-8 to 25-10 for details. notes: 1. rsysclk = 1.544 mhz. 2. rsysclk = 2.048 mhz.
dallas semiconductor ds21ff42/DS21FT42 101899 /123 129 ac characteristics ? transmit side (0 o c to 70 o c; v dd = 2.97 to 3.63v for ds21ff42/DS21FT42; ?40 o c to +85 o c; v dd = 2.97 to 3.63v for ds21ff42n/DS21FT42n) parameter symbo l min typ max units notes tclk period t cp 648 ns tclk pulse width t ch t cl 75 75 ns ns tclki pulse width t lh t ll 75 75 ns ns tsysclk period t sp t sp 122 122 648 448 ns ns 1 2 tsysclk pulse width t sh t sl 50 50 ns ns tsync or tssync set up to tclk or tsysclk falling t su 20 t ch ?5 or t sh ?5 ns tsync or tssync pulse width t pw 50 ns tser, tsig, tlink set up to tclk, tsysclk falling t su 20 ns tser, tsig, tlink hold from tclk, tsysclk falling t hd 20 ns tclk or tsysclk rise and fall times t r , t f 25 ns delay tclk to tpos, tneg valid t dd 50 ns delay tclk to tchblk, tchblk, tsync, tlclk t d2 50 ns delay tsysclk to tchclk, tchblk t d3 75 ns see figures 25?11 to 25?13 for details. notes: 1. tsysclk = 1.544 mhz.
dallas semiconductor ds21ff42/DS21FT42 101899 /123 130 2. tsysclk = 2.048 mhz.
dallas semiconductor ds21ff42/DS21FT42 101899 /123 131 intel bus read ac timing (bts=0 / mux = 1) figure 25 - 1 ash pw t cyc t asd t asd pw pw eh el t t t t t t ahl ch cs asl ased cs* ad0-ad7 dhr t ddr ale rd* wr*
dallas semiconductor ds21ff42/DS21FT42 101899 /123 132 intel bus write timing (bts=0 / mux=1) figure 25 - 2 ash pw t cyc t asd t asd pw pw eh el t t t t t t t ahl dsw dhw ch cs asl ased cs* ad0-ad7 rd* wr* ale
dallas semiconductor ds21ff42/DS21FT42 101899 /123 133 motorola bus ac timing (bts = 1 / mux = 1) figure 25 - 3 t asd ash pw t t asl ahl t cs t asl t t t dsw dhw t ch t t t ddr dhr rwh t ased pw eh t rws ahl pw el t cyc as ds ad0-ad7 (write) ad0-ad7 (read) r/w* cs*
dallas semiconductor ds21ff42/DS21FT42 101899 /123 134 intel bus read ac timing (bts=0 / mux=0) figure 25 - 4 address valid data valid a0 to a7, fs0, fs1 d0 to d7 wr* cs* rd* 0ns min. 0ns min. 75ns max. 0ns min. 5ns min. / 20ns max. intel bus read ac timing (bts = 0 / mux = 0 ) figure 16.10 t1 t2 t3 t4 t5
dallas semiconductor ds21ff42/DS21FT42 101899 /123 135 intel bus write ac timing (bts=0 / mux=0) figure 25 - 5 address valid a0 to a7, fs0, fs1 d0 to d7 rd* cs* wr* 0ns min. 0ns min. 75ns min. 0ns min. intel bus write ac timing (bts = 0 / mux = 0 ) figure 16.11 10ns min. 10ns min. t1 t2 t6 t4 t7 t8 t9 10ns min.
dallas semiconductor ds21ff42/DS21FT42 101899 /123 136 motorola bus read ac timing (bts=1 / mux=0) figure 25 - 6 address valid data valid a0 to a7, fs0, fs1 d0 to d7 r/w* cs* ds* 0ns min. 0ns min. 75ns max. 0ns min. 5ns min. / 20ns max. t1 t2 t3 t4 t5 ds 0ns min. 75ns max. 0ns min. t2 t3 t4 1 notes: 1. the signal ds is active high when emulating the ds21q41 (fms = 1) .
dallas semiconductor ds21ff42/DS21FT42 101899 /123 137 motorola bus write ac timing (bts=1 / mux=0) figure 25 - 7 address valid a0 to a7, fs0, fs1 d0 to d7 r/w* cs* ds 0ns min. 0ns min. 75ns min. 0ns min. motorola bus write ac timing (bts = 1 / mux = 0 ) figure 16.13 10ns min. 10ns min. t1 t2 t6 t4 t7 t8 ds 0ns min. 75ns max. 0ns min. 1 notes: 1. the signal ds is active high when emulating the ds21q41 (fms = 1) . t2 t6 t4 t9 10ns min. *
dallas semiconductor ds21ff42/DS21FT42 101899 /123 138 receive side ac timing figure 25 - 8 t d1 1 t d2 t d2 t d2 t d2 rser / rsig rchclk rchblk rsync rlclk rlink t d1 notes: 1. rsync is in the output mode (rcr2.3 = 0). 2. shown is rlink/rlclk in the esf framing mode. 3. no relationship between rchclk and rchblk and the other signals is implied. rclk t d2 rfsync / rmsync 2
dallas semiconductor ds21ff42/DS21FT42 101899 /123 139 receive system side ac timing figure 25 - 9 t f t r t d3 1 t d4 t d4 t d4 t t su hd 2 rser / rsig rchclk rchblk rsync rsync notes: 1. rsync is in the output mode (rcr2.3 = 0) 2. rsync is in the input mode (rcr2.3 = 1) rsysclk sl t t sp receive system side ac timing figure 16.5 sh t t d4 rmsync
dallas semiconductor ds21ff42/DS21FT42 101899 /123 140 receive line interface ac timing figure 25 - 10 t f t r rpos, rneg rclk cl t t cp ch t t su t hd
dallas semiconductor ds21ff42/DS21FT42 101899 /123 141 transmit side ac timing figure 25 - 11 t f t r 1 tclk tser / tsig tchclk t t cl t ch cp tsync tsync tlink tlclk tchblk t d2 t d2 t d2 t t t t t hd su d2 su hd t hd 2 notes: 1. tsync is in the output mode (tcr2.2 = 1). 2. tsync is in the input mode (tcr2.2 = 0). 3. tser is sampled on the falling edge of tclk when the transmit side elastic store is disabled. 4. tchclk and tchblk are synchronous with tclk when the transmit side elastic store is disabled. 5. tlink is only sampled during f-bit locations. 6. no relationship between tchclk and tchblk and the other signals is implied. 5 t su
dallas semiconductor ds21ff42/DS21FT42 101899 /123 142 transmit system side ac timing figure 25 - 12 t f t r tsysclk tser tchclk t t sl t sh sp tssync tchblk t d3 t d3 t t t su hd su t hd notes: 1. tser is only sampled on the falling edge of tsysclk when the transmit side elastic store is enabled. 2. tchclk and tchblk are synchronous with tsysclk when the transmit side elastic store is enabled.
dallas semiconductor ds21ff42/DS21FT42 101899 /123 143 transmit line interface side ac timing figure 25 - 13 tpos, tneg t dd t f t r tclk t t cl t ch cp
dallas semiconductor ds21ff42/DS21FT42 101899 /123 144 26. mcm package dimensions ds21ff42 / DS21FT42 mechanical dimensions
dallas semiconductor ds21ff42/DS21FT42 october 18, 1999 145 power supply de-coupling in a typical pcb layout for the mcm, all of the vdd pins will connect to a common power plane and all the vss lines will connect to a common ground plane. the recommended method for de- coupling is shown below in both schematic and pictorial form. as shown in the pictorial, the capacitors should be symmetrically located about the device. figure 25-1 uses standard capacitors, two .47 uf ceramics and two .01uf ceramics. since vdd and vss signals will typically pass vertically to the power and ground planes of a pcb, the de-coupling caps must be placed as close to the ds21fx4y as possible and routed vertically to power and ground planes. de-coupling scheme using standard tantalum caps . figure 25-1 .01 .01 vdd vdd ds21fx4y .47 .47 .01 .01 .47 .47 ds21fx4y


▲Up To Search▲   

 
Price & Availability of DS21FT42

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X